PHP program always prompt the verification code input Error solution, PHP verification code
Today when you put a set of programs on the other server execution, found that the background login verification code, regardless of whether the input is correct, always show:
Incorrect verification Code input
Then it started debugging.
Because the correct verification code results have been encrypted and saved in the session, all the verification code used for input will be compared with the session in order to determine whether the verification code is wrong!
Since always show: "Code input wrong"
Indicates that there may be a problem saving to the result in the session. Then, dump the session and find that the result is null ...
Workaround: Use Phpinfo to view session information, find the session's save path, and then set the Write permission to it
Note: Remember to restart Apache or IIS
http://www.bkjia.com/PHPjc/939409.html www.bkjia.com true http://www.bkjia.com/PHPjc/939409.html techarticle PHP program always prompt verification code input Error solution, PHP Verification code today in the implementation of a set of programs on other servers, found that the background login verification code regardless of input correct ...