Alibabacloud.com offers a wide variety of articles about fake credit card number for apple id, easily find your fake credit card number for apple id information here online.
Replace the phone number string with the asterisk code: The code is as follows:Copy code $ Str = "15832818835 ";Echo substr ($ str,). '*****'. substr ($ str, 8, strlen ($ str); // retain the first and last three digits?>Or use regular expressions.$ S = 'manager Wang of www .111cn.net: 13999312365 manager Li: 13588958741 ';$ S = preg_replace ('# (d {3}) d {5} (d {3 })#', '$ {1} ***** $ {2}', $ s );Echo $ s;
/**/
/* * ID card number structure:* 17-bit digital ontology + one-digit Verification Code* From left to right:* Six-digit address code + eight-digit origin date + three-digit sequential code and one-digit Verification Code* Address code: divided by the Administrative Code of the birth area* Date of Birth: year, month, and day without Separators* Sequence code:
Php determines the region (province) address based on the ID card number
Php determines the region (mainly the province or municipality) based on the ID card number and the detailed address of the district/county. The Code is as
Because the ID number is 18 digits, Excel shows only 15, will turn the last three digits to 0, how to display the correct ID number in Excel
I have summed up, there are two ways:
The first of these methods
Select the column that displays the ID
Ask to avoid the problem that the xls file phone number exported by phpexcel and the ID card are displayed in scientific notation! Phpexcel is used for export in recent projects, which is relatively good, but there are several headaches, that is, when exporting data columns, data of the type 013434342333, 053482371284, and 42221312312312312312213 is automatically
C # replacement of special characters in the middle of privacy information (bank account, ID card number, name (*),
Recently, a function module about banks needs to replace the middle part of the bank account with *, so I wrote the following code:
///
The call and effect are as follows:
ReplaceWithSpecialChar ("Ke xiaodan", 1, 0, '*') --> Result: Ke * Stay
Re
Obtain the ID card number of the UUserCard province The code is as follows:Copy code Function discriCard (UUserCard ){UUserCard. substring (6, 10) + "-" + UUserCard. substring (10, 12) + "-" + UUserCard. substring (12, 14); // Obtain the date of birthObtain genderIf (parseInt (UUserCard. substr (16, 1) % 2 = 1) {// if it is male, run the c
Because the response speed is extremely fast, it is certainly not the correctness of online verification. That is to say, the second-generation ID card has other self-verification rules besides the rules that everyone knows about birthday and gender. So I opened the page source code and found that this section of js was not compressed, so the rules are quite understandable.I am here to give you some tips. I
Because the response speed is extremely fast, it is certainly not the correctness of online verification. That is to say, the second-generation ID card has other self-verification rules besides the rules that everyone knows about birthday and gender. So I opened the page source code and found that this section of js was not compressed, so the rules are quite understandable.
I am here to give you some tips.
Applies to the management of archives in OA projects.1. Calculate the birth date, age, and gender (18 digits) based on the ID card number)Copy codeThe Code is as follows:// Obtain the input ID numberVar UUserCard = $ ("# UUserCard"). val ();// Obtain the Date of birth// UUserCard. substring (6, 10) + "-" + UUserCard. s
1. Calculate the birth date, age, and gender (18 digits) based on the ID card number)Copy codeThe Code is as follows:// Obtain the input ID numberVar UUserCard = $ ("# UUserCard"). val ();// Obtain the Date of birth// UUserCard. substring (6, 10) + "-" + UUserCard. substring (10, 12) + "-" + UUserCard. substring (12, 1
ID card number verification functionFunction checkidcard (S, d, g){If (! S) return false;D = new date (d );If (! D. gettime () return false;
VaR T, R;
T = "" + D. getfullyear () + dblnum (D. getmonth () + 1) + dblnum (D. getdate ());
If (G = NULL | isnan (G) return false;G = parseint (g) % 2;
Switch (S. length){Case 8:If (new date ()> D. setfullyear (D. getfullye
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.