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 ...