Re: Captha Image Matching the Session Value.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey guys sorry to interrupt but, the problem is rather obvious if you try and put the <img src='captcha.php' /> - which is the captcha image it self - anywhere in the script you are effectively overwriting the session variable - since you are initializing the form file session in the very beginning of the form file, and then calling the captcha file which over writes the session file, but that does not automatically update in the form file so there you get the old value. If you make the check if the text is correct after the submit of the form, it should be correct. I hope I have made myself clear enough.



Petar

"Stephen Alistoun" <stephenalistoun@xxxxxxxxx> написа в съобщението news:21651258.post@xxxxxxxxxxxxxxxxxx

Hey Ash,

Is I have but the Session Value is one before the Captha Image Value.

Regards,

Stephen
--
View this message in context: http://www.nabble.com/Captha-Image-Matching-the-Session-Value.-tp21650616p21651258.html
Sent from the PHP - General mailing list archive at Nabble.com.



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux