function Is_idcard ($id) {$id = Strtoupper ($id); $regx = "/(^\d{15}$) | ( ^\D{17} ([0-9]| X) $)/"; $arr _split = Array (); if (!preg_match ($REGX, $id)) {return FALSE;
1. The function of verifying that the ID card is valid in PHP
Introduction: This article explains how to verify the validity of the ID card in PHP function, how to implement the code
2. PHP Authentication ID function
Introduction: Share a verification ID function
3. jquery Validation Authentication ID number, passport, phone number, email (instance code)
Description: jquery validation Verify the ID number, passport, phone number, email (instance code). Need friends can come to the reference, I hope to help you
4. JS Verify ID information is legal
Introduction: JS Verify ID information is legal
5. php function to verify that the ID card is valid
Brief: PHP function code sharing to verify that the ID card is valid
6. PHP _php Example of the function of verifying the correctness of the ID card number
Introduction: This article mainly for you to share the two paragraph PHP verification ID card number is correct function, interested in small partners can refer to
7. PHP verification of the function of the ID number
Introduction: PHP Verification of the function of the ID number
8. php function to verify that the ID card is valid
Brief: php function to verify that the ID card is valid
9. PHP Verification ID Collection _php Tutorial
Introduction: PHP Verified identity card collection. Identity card aspects of the function, personally feel very useful, especially in the network survey, the identification of personal information on the ID is useful, sent to share.
10. After verifying the ID card six-bit php_php tutorial
Summary: Verify the identity card after six-bit PHP. After verifying the ID card six PHP in the submission Form I have one is to submit the ID card six, how to write it? Is that the file already has the ID card after six bits, only it input
"Related question and answer recommendation":
JavaScript-Find an input form to verify the identity card in a timely manner, support mobile and Chinese authentication!!!
Cookie-What is a simple and secure PHP login to verify the identity of the source code?
Java-shiro How to implement the free account password, by verifying the identity code login and authorization?
Java-How does the client software save the user's login information to interact with the server?
PHP-Verification of identity through session_id issues