Configure your browser to prompt you for cookies.
That will make sure you are doing the session bit the way you think
you are.
Then add some error_log statements when you set or read the secret word.
You'll soon figure out exactly how/why your session has the OLD secret
word in it.
--
Some peo
Hey guys sorry to interrupt but, the problem is rather obvious if you try
and put the - 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, an
Hey guys sorry to interrupt but, the problem is rather obvious if you try
and put the - 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, an
Stephen Alistoun wrote:
Hi all,
My captha code is working but the session code is not matching image
code(captha code).
How do i get them to match each other.
PHP CAPTHA
session_start();
$fontArray = array('arial.tff' , 'impact.tff' , 'tahoma.tff' ,
'tunga.tff'
, 'verdana.tff')
At 4:33 AM -0800 1/25/09, Stephen Alistoun wrote:
Hey Ash,
Is I have but the Session Value is one before the Captha Image Value.
Regards,
Stephen
Stephen:
It's looks to me that your code is generating a CAPTCHA from a "key",
but your "key" is not being recorded in the SESSION as what is
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 Ge
On Sun, 2009-01-25 at 04:09 -0800, Stephen Alistoun wrote:
> Hey Richard,
>
> Thanks for your reply but the Captcha php code is a seperate file to the
> html code but the code is working but the values are not matching.
>
> Thanks,
>
> Stephen
>
> --
> View this message in context:
> http://
Hey Richard,
Thanks for your reply but the Captcha php code is a seperate file to the
html code but the code is working but the values are not matching.
Thanks,
Stephen
--
View this message in context:
http://www.nabble.com/Captha-Image-Matching-the-Session-Value.-tp21650616p21651034.html
S
> ...
1. It's captcha, not captha - http://en.wikipedia.org/wiki/Captcha
2. As far as I can see (and that's not too far), you appear to be
sending HTML along
with the image. You need to have one script to generate the page,
and another to
create and send the captcha image.
--
Richard Heye
Hi ash,
Thanks for your reply but the image does change when i refresh the page but
the session value is one before the image value.
If this is a cache problem how would i prevent this?
Thanks,
Stephen
--
View this message in context:
http://www.nabble.com/Captha-Image-Matching-the-Session-
On Sun, 2009-01-25 at 03:25 -0800, Stephen Alistoun wrote:
> Hi all,
>
> My captha code is working but the session code is not matching image
> code(captha code).
>
> How do i get them to match each other.
>
>
> PHP CAPTHA
> session_start();
>
> $fontArray = array('arial.tff' , 'i
Hi all,
My captha code is working but the session code is not matching image
code(captha code).
How do i get them to match each other.
PHP CAPTHA
session_start();
$fontArray = array('arial.tff' , 'impact.tff' , 'tahoma.tff' ,
'tunga.tff'
, 'verdana.tff');
$f
12 matches
Mail list logo