China Eastern Airlines Co., Ltd. leaked the user information of the whole site member (birthday/name/mobile phone number/email)
It is feasible to give a high rank
1. I was very happy to register a member (East China miles) and found that my personal information was obtained so easily.Web: http://easternmiles.ceair.com/mpf/#/sign/forgetEnter the membership card
1. Verify that it is an email address Public Static Boolean Isemail (String value) { = "^ ([a-za-z0-9]*[-_]?[ a-za-z0-9]+) *@ ([a-za-z0-9]*[-_]?[ a-za-z0-9]+) +[\\.] [A-za-z] {2,3} ([\\.] [A-za-z] {2})? $"; = Pattern.compile (emailpattern); = P.matcher (value); return m.matches (); }2. Verify that the phone number is Public Stati
Verification of mobile phone numbers (starting with 13 and starting with 158,159, 11 digits in total)Copy codeThe Code is as follows:Var re;Var ss = document. getElementById ('textbox3 '). value;Re =/^ (13 [0-9] {9}) | (15 [89] [0-9] {8}) $/If (re. test (ss )){Document. getElementById ('label3'). innerText = ""; // assign a value to the label using innerText}Else{Document. getElementById ('label3'). innerText = "enter the correct mobile
Provides various official and user-released code examples. For code reference, you are welcome to exchange and learn common regular expressions to verify information, such as the website email phone number.
/*** Common regular expressions are used to verify information, such as the mobile phone
Mobile phone number verification (13 opening and 158,159 beginning, total 11 digits)
Copy Code code as follows:
var re;
var Ss=document.getelementbyid (' TextBox3 '). Value;
Re=/^ (13[0-9]{9}) | (15[89][0-9]{8}) $/
if (Re.test (ss))
{
document.getElementById (' Label3 '). innertext= ""; Assign value to label with InnerText
}
Else
{
document.getElementById (' Label3 '). inner
Let Ecshop user name, mobile phone number, email login method, only applicable to not do any platform integration of Ecshop website modified files: 1, includes/modules/integrates/ecshop.php $this->field_email = ' email '; add $this below the code->field_phone = ' Mobile_phone '; ========== ==========================
Ecshop mobile phone number or email user name can login methodEcshop Tutorial/Ecshop Tutorial Net (www.ecshop119.com) 2013-06-30A lot of people are looking for support ecshop user name, mailbox or hand number login plug-in, the following about how to implement user name, mailbox or mobile
Code
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->
//
VaR Reg =/^ (\ D +) | ([A-Z] +) $/g filters out one or more numbers from the beginning to the end, or one or more 26 letters
//
VaR reg2 =/^ [\ u4e00-\ u9f5a] + $/g; filter out one or more Chinese characters from the beginning to the end.
//
VaR reg3 =/^ \ D {1, 3} $/g; filter numbers ranging from 1 to 3
//
VaR reg4 =/(^ \ s +) | (\ s + $)/g; select one or more spaces from
This article introduces in detail several regular expressions that are commonly used in php development, this article describes in detail the regular expressions commonly used in php development, such as the regular expression codes for websites, emails, and mobile phone numbers.
Script ec (2); script
1. Email judgment:
A domain name is composed of a specific character set, English letters, numbers, and "
This example needs to verify the content: E-mail address, URL address, telephone number, ZIP code, verification method for everyone to share for reference, the specific content as follows
1. Verification of e-mail address
2, the URL address of the check
3. Telephone number
4, the verification of the ZIP code
I hope this article will help you learn PH
Regular expression verification email address and phone number
Verify the regular expression of the phone number:(\ D {3}-) (\ d {8}) $ | (\ d {4}-) (\ d {7 }) $ | (\ d {4}-) (\ d {8}) $(The new phone
verification of mobile phone number (13 start and 158,159, total 11 digits) var Ss=document.getelementbyid (' TextBox3 '). Value;var re=/^ (13[0-9]{9}) | (15[89][0-9]{8}) $/if (Re.test (ss)){document.getElementById (' Label3 '). innertext= ""; Assigning a value to a label with innertext}Else{document.getElementById (' Label3 '). innertext= "Please enter the correct mobile
Php scalable verification instance (which can be verified by email, mobile phone number, URL, etc.) and instance url
This article describes the php extension verification classes. Share it with you for your reference. The specific analysis is as follows:
An extensible php verification class is introduced here,You can adjust the implementation of various types of
This article mainly introduces php scalable verification. The example analyzes php's common verification techniques for emails, mobile phone numbers, URLs, and so on, which are very useful. For more information, see
This article mainly introduces php scalable verification. The example analyzes php's common verification techniques for emails, mobile phone numbers, URLs, and so on, which are very useful. For
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.