This just a same script in different server:
The link below works. When you enter the correct characters it display success.
http://mibsolutionsllc.com/captcha_test/test.php
This link below works. Even you enter the correct characters. Display always error. The session value doesn't give function the right way.
http://www.universitywomenshealthcare.com/uwh-content/captcha_te开发者_运维百科st/test.php
If it's a sessions issue, how would one go about fixing this?
Try to echo out what the answer is for the input and check your current settings when you are comparing the input vs. the captcha.
why don't you put your php code in this page? In your second page (http://www.universitywomenshealthcare.com/uwh-content/captcha_test/test.php), somehow session variable is not keeping the originally assigned captcha value. Have you put session_start() in this second page. We will be able to help you more if you can send these two php pages.
精彩评论