note 12318 deleted from function.setcookie by imajes

From: Date: Wed, 30 Jan 2002 05:46:49 +0000
Subject: note 12318 deleted from function.setcookie by imajes
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-26014@lists.php.net to get a copy of this message
if you are setting a cookie manually using header() instead of cookie(), you should use gmdate() instead of date(). This way your date will always be in GMT, no matter what the server time is.

« previous php.notes (#26014) next »