(China mainland Mobile 134,135,136,137,138,139,150,151,157,158,159 number section, China Unicom's 130,131,132,133,153,155,156 number segment and the Chinese telecom 3G mobile phone number paragraph 188, China netcom 3G Mobile phone numbe
recently in the National Industry Classification information web site, need to use the mobile phone number ownership display function, so the shuttle in the major authoritative sites between the API to steal the interface address. Share it out, and you can use it to take it, uh, Free mobile phone number attribution of
Drip travel to change mobile phone number must be old phone to accept the verification code can be replaced Oh, otherwise this method can not change the mobile phone number OH.
If you are using a micro-end login method as follows:
The first step: on the
To the users of micro-credit software to detailed analysis to share the micro-letter to change the mobile phone number of procedures for the course.
Tutorial Sharing:
1, with the phone to open the micro-letter, with your micro-signal and independent password login micro-letter, login, enter the personal center, click on my account.
2, into the A
Verify the email core code as follows
The code is as follows
Copy Code
function Isemail (input) {var reg =/^w+ (-w+) | (. w+)) *@[a-za-z0-9]+ ((. | -) [a-za-z0-9]+] *. [a-za-z]+$/;return reg.test (input);} Cases
Verify the phone number
The code is as follows
Copy Code
function IsMobile (input) {var reg=/^ (13[0-9]|15[0|3|6|7|8| 9]|18[8|9])
Everyone should have this common sense, China's mobile phone number is the number "1", and then use the "0~9" 10 digits of the 11-digit combination, then our validation rules must be based on this idea to write.Based on the above simple idea, we can write down the following verification code, the code is as follows:
But the above code is obviously n
Recently, some netizens will download Twitter mobile version to register to use, but, in the process of registration, you will encounter the need for mobile phone number verification, but enter the phone number, but was prompted by the phone
Mobile phone number
Mobile phone name has GSM: said only support China Unicom or mobile 2G (130, 131, 132, 134, 135, 136, 137, 138, 139, 145, 147, 150, 151, 152, 155, 156, 157, 158, 159, 182, 185, 186, 187, 188)
Mobile phone name has CDMA: only support China Telecom 2G segment (133, 153, 180, 181, 189)
The name of t
JavaScript Tutorial Phone number verification
The following check function, if the phone number is valid. At first we used the regular expression and the replace () method
To clear any interval character. Next, we use the isNaN () function to check that the phone
Phone number format: 0574-12345678,0574-12345678-2,12345678,0556-1234567,021-12345678Fixed-line except for the following areas are 8, other areas of the city's ordinary civil numbers are 7As of September 2009, a total of 19 provinces and municipalities in the number of 51 cities and towns have risen to 8 places
Beijing 010 Shanghai 021 Tianjin 022 Chongqing Munic
characters to replace.
Positive number-The length of the string being replaced
Negative numbers-the number of replaced characters starting at the end of the string
0-Insert rather than replace
Use instance:
Copy Code code as follows:
[Code]
echo strlen ($idcard) ==15?substr_replace ($idcard, "* * *", 8,4):(strlen ($idcard) ==18?substr_replace ($idcard, "* * *", 10,4): "ID
Mobile phone ownership Query functionsearchmobilearea () { varphone=$.trim ($ ("#key_S"). Val (); if (Searchareamobilephonefromindex (phone)) {//Verify phone number searchmobilephoneguisuarea (phone)/search for the place where the handset belongs } } //Verification m
In 12306 registered account will be reserved for mobile phone number, after the replacement of mobile phone number, need to modify in a timely manner in 12306, or purchase tickets after the ticket will not receive the notification message.
1, Baidu 12306, in search results find 12306 official website link, click to en
After login QQ account, we click the ldquo; settings rdquo; interface of the panel as shown in the picture.
And then in the pop-up ldquo; QQ System Setup rdquo; then we find ldquo; security settings rdquo; The following ldquo; modify password rdquo; as shown in the following figure
Okay, after we open it, we find ldquo;. QQ Safety Center rdquo; then find ldquo; Security Tools rdquo; then we'll find and click ldquo; Secret Phone change rdquo; det
How to get the native phone number on Android, and now Android provides an API to read the number that was cured on the early SIM card,
Copy Code code as follows:
Private String Getphonenumber () {
Telephonymanager Mtelephonymgr;
Mtelephonymgr = (Telephonymanager) getsystemservice (Context.telephony_service);
return Mtelephonymgr.getline1number ();
}
How to use mobile phone to manage micro-credit public numbers
First, the mobile phone public number management software selection, if a feeling is not accustomed to use, you can change another.
This tutorial takes the micro-platform housekeeper as an example.
Upon completion of installation, use your own micro-letter public
This article describes the JS and jquery verified e-mail, mobile phone number, zip code method.
jquery Code:
Verify ZIP code
$ ("#postcode"). blur (function () {
//Get Postal code
var postcode=$ ("#postcode"). Val ();
if (Is_postcode (postcode)) {
$ ("#postcode_info"). HTML ("");
else{
$ ("#postcode_info"). HTML ("Incorrect postal code format");
return false;
}
});
Verify the
Pay attention to mobile phone number Security: Reporters investigate that new numbers are not "new" Harassment is followed
As mobile Internet is used more and more frequently, in the virtual world, we need to provide mobile phone numbers when enjoying services. Sometimes, we need to use mobile phone numbers to prove o
Using PHP in three simple ways to achieve the mobile phone number of the middle four (n-bit) with an asterisk display:
$mobile = ' 13912345678 ';1. String interception method$newMobile 1 = substr ($mobile, 0, 5). ' '. substr ($mobile, 9);echo $newMobile 1. '
2. Substring of replacement string$newMobile 2 = substr_replace ($mobile, ' * * * *, 5, 4);echo $newMobile 2. '
3. Use regular$newMobile 3 = preg_
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.