We do the site, the user experience that is very important, such as 12306 Rob tickets need to fill in the ID card, if not the space, dense to give me a very depressing feeling, and also not easy to check whether the information is filled out correctly, so I wrote a use JS implementation of the completion of the social security number, mobile phone
1, about the JavaScript form verification, if the use of bidirectional binding front-end JS frame, it will be much easier. But bloggers still suggest that you do not leave the source JS itself. Because the source of JS is the kingly way.Attention:A, error message in the code may not be found in the code, "error. jpg" IMAGE, make ab, the validation of the judgment has been completed, only need to be based on their own validation rules to form validation, replace their regular expression.C, the bl
BEGIN
For F in 1..30
LOOP
Dbms_output. Put_Line (Uext_random.random_email (' @test. sinatay.com '));
END LOOP;
END;
/
Generate a random ID number:Click ( here) to collapse or open
BEGIN
For F in 1..30
LOOP
Dbms_output. Put_Line (Uext_random.random_idnum);
END LOOP;
END;
/
Generate random bank card number:Click ( here) to collapse or open
BEGIN
For F in 1..30
LOOP
Dbms_output. Put_Line (Uext_random.r
, only between the characters will be verified through. /** * Verify that the name entered is "Chinese" or whether it contains "•"*/ Public Staticboolean islegalname (String name) {if(Name.contains ("·") || Name.contains ("?")){ if(Name.matches ("^[\\u4e00-\\u9fa5]+[?] [\\u4e00-\\u9fa5]+$")){ return true; }Else { return false; } }Else { if(Name.matches ("^[\\u4e00-\\u9fa5]+$")){ return true; }Else {
I have a business here that requires the customer to fill in the ID number, automatically calculate his birth date and ageIn SQL, the specific stored procedure implementation is this:/*********************************************** date and age of birth based on social Security number DATE:2017-10-15AUTHOR:XZL conditio
.$phone = "(021) 423-2323"; if (Preg_match ('/\ (? \d{3}\)? [ -\s.]? \d{3}[-\s.] \d{4}/x ', $phone) {echo "Your phone number is ok.";} else {echo "wrong phone number."}4. Verify the IP addressThis is an instance to validate the IPV4 address.$IP = "198.168.1.78"; if (Preg_match ('/^ ([1-9]?[ 0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]).) {3} ([1-9]? [0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]) ($/', $IP)) {echo "Your IP addr
Use T-SQL to extract a birthday from a social security number, which is an example of converting a 16-digit ID number, for informational purposes only.Create functionGetdatefromid (@id Char( the))returns datetime asbeginDeclare @birthPart Char(6);Set @birthPart = substring(@id,7,6);Declare @year int;Set @year = cast( L
Open room information security-common SQL injection vulnerability in hotel information management system of a social information collection platform (a large number of cases)
Open room Information Security-General SQL injection vulnerability in hotel information management system on a
Share the following in the export of CSV file with PHP, the identity card number is forbidden to scientific counting display method, the need for friends reference.Actually, it's very simple.PHP export CSV file, open will find that the social Security number is represented by scientific counting method.Workaround: Add
) {$value = "pig";}
return $value;
}
function Get_xingbie ($cid) {///According to the ID number, automatically return gender
if (!isidcard ($cid)) return ';
$sexint = (int) substr ($cid, 16, 1);
return $sexint% 2 = = = 0? ' Female ': ' Male ';
}
function Isidcard () {//Check whether it is a social security number
Con
The reference code is as follows:var vareacode= "${regionid}";var vrandnum= "${__random (000,999)}";var vbirthday=${__time (yyyy,py)}+parseint (Math.floor (Math.random () *48+18) + "${__time (MMDD,PMD)}";var videntifycode=vareacode+vbirthday+vrandnum;Generate a valid ID number(function () {var vcount=0;Weighting factorvar vweight=[7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2];var vcode=[1,0, "X", 9,8,7,6,5,4,3,2];Get the first 17 digits of your IDvar vtempcode
several entry addresses, but one entry address cannot be stored across multiple records. Each entry address of the social security system directory file is an Application Template (61 tags ).
In the IC card, other directories outside the social security system are optional and do not limit the
provide the following information:(1) My identity card (original, leave a copy);(2) Hukou or hukou card (original, left copy);(3) in Shenzhen CCB, BOC, Agricultural Bank of China, ICBC, one of the individual current savings passbook (check the original, leave a copy); "The insured person's bank account number must be provided to pay the social security fee".(4)
and leaking information of more than customers in the CSDN1000, because the backup disk is used after it is obtained.
The security issues of data tampering are analyzed as follows:
(1) Illegal tampering of High-Permission maintenance personnel
During the maintenance of the social security database system, there are a large n
For the moment, you cannot query the social security account on the Internet in Beijing. You can only go to the Social Security Center on which the Organization is insured and use a touch screen to query the social security accoun
At present, China's Social Security Fund is mainly funded by the National Council of Social Insurance fund operation, from all aspects of the data, Social Security fund investment income is considerable, but in the process of operation in order to achieve the best value adde
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.