-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Mon, 29 Jan 2001, Eugene Yi (InfoSpace Inc) wrote:

> I set up a cookie using the following command and it works fine under IE but
> not in Netscape.  Am I doing something wrong?
> 
> setcookie("mycookie[1]",$domain,"","/","mydomain.com");

Should be:

setcookie("mycookie[1]", $domain, 0, "/", "mydomain.com");

the expire time is an integer, not a string.

- -- 
Aaron Turner <[EMAIL PROTECTED]|synfin.net|linuxkb.org>  URI:www.synfin.net
They that can give up essential liberty to obtain a little temporary safety 
deserve neither liberty nor safety. -- Benjamin Franklin

pub 1024D/F86EDAE6  Sig: 3167 CCD6 6081 0FFC B749  9A8F 8707 9817 F86E DAE6
All emails by me are PGP signed; a lack of a signature indicates a forgery.
I have retired my PGP 2.6.2 key: FBE1 CEED 57E4 AB80  596E 60BF 451B 20E8 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Public key at: http://www.synfin.net/aturner/pgpkey.asc

iEYEARECAAYFAjp17rkACgkQhweYF/hu2ubpNgCdH1/7RrnWldqfUfjJntSSe3D9
lhEAnjquZx1k+m+LgPzZV0xSr/k15iNJ
=iVu3
-----END PGP SIGNATURE-----



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to