Codes are not case sensitive

Function: strtolower ();

if(strtolower($_SESSION['rand'])==strtolower($str_number )){

echo "验证码正确";

}else{

echo "验证码不正确";

}

Guess you like

Origin www.cnblogs.com/vilucky/p/12327180.html