In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-12 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly explains the "how to solve the php program always prompt CAPTCHA input error", the explanation in the article is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in-depth, together to study and learn "how to solve php procedures always prompt CAPTCHA input error" it!
Today, when I put a set of programs to another server to execute, I found that the login verification code in the background always shows whether it is entered correctly or not:
Incorrect input of CAPTCHA code
And then debug started.
Because the correct CAPTCHA result has been encrypted and saved in session, all the CAPTCHA used for input will be compared with the CAPTCHA in session to determine whether the CAPTCHA is entered incorrectly!
Since it always says: "CAPTCHA is entered incorrectly"
Indicates that there may be a problem saving the results in session. Then, session under dump, it is found that the result is null.
Solution: use phpinfo to view session information, find out the save path of session, and then set the write permission to it.
Note: remember to restart apache or iis
Thank you for your reading, the above is "how to solve the php program always prompt CAPTCHA input error" content, after the study of this article, I believe that how to solve the php program always prompt CAPTCHA input error this problem has a deeper understanding, the specific use of the need for everyone to practice verification. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.