> -----Original Message-----
> From: Scott 'INtense!' Reismanis [mailto:[EMAIL PROTECTED]]
> Sent: 08 June 2002 04:52
>  
 
> Anyhow basically what is happening, is that cookies are been set fine,
> however say I try to set two cookies in the one script
>  
> i.e.
> setcookie("username", $HTTP_POST_VARS['username'], time()+31536000);
> setcookie("password", $HTTP_POST_VARS['password'], time()+31536000);
>  
> only the cookie that was called last, i.e. 'password' will be set. I
> only started noticing this problem since I installed php4.2 and
> apache2.0, is that the cause?

Yes.

(There are several bug reports at http://bugs.php.net/ about this -- I *think* it's 
been fixed in the development version of PHP 4.3)

Cheers!

Mike

---------------------------------------------------------------------
Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS,  LS6 3QS,  United Kingdom
Email: [EMAIL PROTECTED]
Tel: +44 113 283 2600 extn 4730      Fax:  +44 113 283 3211 

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

Reply via email to