Six-bit php_php tutorial after verifying your ID

Source: Internet
Author: User
Six-bit PHP after verifying ID

In the submission Form I have one is to submit ID card six, how to write it? Is the file already has the ID card six bit, only it entered correctly in order to carry on the next operation!

Thank you,!!!!!.

I'll answer that.




d8888d Huitie Content-------------------------------------------------------
Six-bit match after intercept.
String functions for specific reference manuals

if (substr (Fgets (' fopen (' idcard.txt ', ' R ')),-6) = = $_post[' Id_suffix ']) {

echo ' Match ';

} else {

Echo ' does not match ';

}


Copy code []

d8888d Huitie Content-------------------------------------------------------
Two is the same soon, okay?

d8888d Huitie Content-------------------------------------------------------
In fact, I'm not clear, hehe has been solved thank you all


http://www.bkjia.com/PHPjc/632547.html www.bkjia.com true http://www.bkjia.com/PHPjc/632547.html techarticle 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 the file already has the ID card after six bits, only it enters ...

  • Related Article

    Contact Us

    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.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.