[Wolves] php problem

Wayne Morris wayne at machx.co.uk
Fri Feb 27 14:20:05 GMT 2004


Thanks Jon, I'll try that now.

Yee-haa - seems to work - thanks!

In the mean time I have discovered the 'set email cookie' bit seemed to
be part of the problem - if I set the cookie to expire in two minutes
then as soon as the 2 mins is up , then the page would accept the new
login - so the $email is being set from the cookie rather than the input
email address.

So I guess the way I had the page written it was reading the cookie
value in instead of the text box input, what I don't understand now is
why it was looking at the cookie (not that I know anything about
cookies) there does not seem to be any code to 'get cookie and use info'
 
Cheers

Wayne

> 
> Change
> 
> $email = trim( $email );
> $passwd = trim( $passwd );
> 
> To
> 
> unset($email);
> unset($passwd);
> $email = trim($_POST["email"]);
> $passwd = trim($_POST["passwd"]);
> 
> Regards
> 
> Jon
Wayne Morris
07960 859346
-- 

Live machinery database
www.machx.co.uk/classifieds/
Most recently added items
www.machx.co.uk/classified/recent.php




More information about the Wolves mailing list