note 23362 deleted from function.setcookie by sniper

From: Date: Wed, 11 Dec 2002 07:16:17 +0000
Subject: note 23362 deleted from function.setcookie by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-40724@lists.php.net to get a copy of this message
If you use $HTTP_HOST to find the domain to set in the cookie, and if you're working on "non 80" port, the SetCookie function won't work. Examples: SetCookie ("Test","12345",time()+30240000,"/","www.domain.com:81") will not work SetCookie ("Test","12345",time()+30240000,"/","www.domain.com") will work

« previous php.notes (#40724) next »