The process of establishing a practical application (please say the details, my side dishes also)
Reply to discussion (solution)
I'm thinking:??? Fill in the hand???, and then submit, after the submission of PHP? SMS API Send SMS??? Fill in the Hand??, text message? Is the login secret, the use of the secret can be received by the success of the, do not receive or fill the hand? Just the right way.
Basic business logic I think you already know.The key difficulty is the mobile
When I look at the English word corresponding to the phone number of "beautiful programming", I think that sometimes I receive digital text messages such as "43" when I think of college ", in fact, Translation into Chinese characters means "Haha", but you have to rely on your brain for analysis, so I spent some time writing a small program, after converting "43" to "he", the code from "he" to "ha" has not b
With the rapid transfer of information, a variety of harassment calls are also many, and sometimes we need to give these numbers to screen out, then how to set their own mobile phone number to the empty number? Let's take a look at this introduction to the method of operation.
For players to play the machine, to toss their own love machine that is a very sens
Jquery Regular Expression (mobile phone number, ID card number, Chinese name), jquery Regular Expression
Content to be verified in this example: Chinese name, mobile phone number, ID card and address. The verification method is shared with you for your reference. The details
Use JAVA code to obtain some basic information about the mobile phone (the local number, SDK version, system version, and mobile phone model) and javasdk
The Code is as follows:
Package com. zzw. getPhoneInfos; import android. app. activity; import android. content. context; import android. OS. build; import android. OS. bundle; import android. telephony. telepho
("Passport", function (value, Element) {
return this.optional (Element) | | CheckNumber (value);
"Please enter your Passport number correctly");
Mobile phone number Verification
JQuery.validator.addMethod ("IsMobile", function (value, Element) {
var length = Value.length;
var mobile =/^ ((13[0-9]{1}) | ( 15[0-9]{1})) +\d{8}) $/;
return this.optional (El
JS Regular expression verification account, mobile phone number, phone, and e-mailEffect Experience: http://keleyi.com/keleyi/phtml/jstexiao/15.htmVerify that your account is legitimateValidation rules: Letters, numbers, underscores, letters beginning with 4-16 digits.function CheckUser (str) { var re =/^[a-za-z]\w{3,15}$/; if (Re.test (str)) { alert
//Checksum is all made up of numbersfunction IsDigit (s){var patrn=/^[0-9]{1,20}$/;if (!patrn.exec (s)) return falsereturn True}//Check login name: Only 5-20 characters beginning with a letter, with numbers, "_", "." Can be entered. The stringfunction Isregisterusername (s){var patrn=/^[a-za-z]{1} ([a-za-z0-9]|[. _]) {4,19}$/;if (!patrn.exec (s)) return falsereturn True}//Verify user name: Only 1-30 strings beginning with a letter can be enteredfunction Istruename (s){var patrn=/^[a-za-z]{1,30}$
You cannot use a bound mobile phone number to log on to Weibo; only mobile phone users can log on using their mobile phone number, the login name is unique and cannot be changed at this time.
Mobile phone registered users and mic
[LeetCode-interview algorithm classic-Java implementation] [017-Letter Combinations of a Phone Number (word Combinations on Phone numbers)], Chapter 9 leetcode [017-Letter Combinations of a Phone Number (a word combination on the Phone
mobile phone Number: Must start with a number, except the number, can contain "-"The code is as follows:function Ismobil (s){var patrn=/^[+]{0,1} (d) {1,3}[]? ([-]? ((d) | []) {1,12}) +$/;if (!patrn.exec (s)) return falsereturn True}Verifying ZIP CodesThe code is as follows:function Ispostalcode (s){var patrn=/^[a-za-
1. Account numberRules: Letters, numbers, underscores, letters beginning with 4-16 digits.Expression:/^[a-za-z]\w{3,15}$/;2. Mobile phone numberRule: 11 digits, starting with 1Expression:/^1\d{10}$/3. Phone numberRules: Area code + number, area code starts with 0, 3-bit or 4-digit number consists of 7-or 8-digit number
Js verifies the real name and ID card number, a simple example of the mobile phone number, and the real name of js
In recent projects, real-name authentication interfaces need to be called. The price of real-name authentication interfaces is not a fraction of the money compared to that of Short Messages. Therefore, the conditions for calling real-name authenticat
VOS2009, vos3000, vos5000 the latest mobile phone number segment belongs to the database import file.Based on the latest version of the April 2017 mobile phone number segment to maketotal 360,569 records, compatible with all versions of the Quentin Vos, including VOS2009, vos3000, vos5000 importing is relatively straig
if ((document.regform.u_telphone1.value.length==0) | |! Checkifnumber (Document.regform.u_telphone1.value)) {
Alert ("Hint: the phone must be filled out!") ");
Document.regform.u_telphone1.focus ();
return false;
}
if ((document.regform.u_telphone2.value.length==0) | |! Checkifnumber (Document.regform.u_telphone2.value)) {
Alert ("Hint: the phone must be filled out!") ");
Document.regform.u_telphone2
)) {
alert (' identity card number filled in error ');
return false;
}
Detailed version of ID card verification:
Http://www.jb51.net/article/88771.htm
3.js verification of mobile phone number
China's mobile phone number in addition to the area code (+86), are
Sometimes in order not to let the user's mobile phone number and ID card directly exposed to the page, we need to add an asterisk processing, the general situation is in the middle of the position with a few asterisks, the specific code can refer to the following:
var str= ' 13155555555 ';var str2 = str.substr (0,3) + "* * *" +STR.SUBSTR (7); 131****5555
The simple method of intercepting and combining str
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.