note 7981 added to setcookie
| From: | scalnet at yahoo dot com | Date: | Wed, 23 Aug 2000 13:57:36 +0000 |
| Subject: | note 7981 added to setcookie | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-3013@lists.php.net to get a copy of this message | ||
When you use the command :
$time = mktime()+600;
$date = date("l, d-M-y H:i:s", ($time));
header("Set-Cookie: cookiename=$value; expires=$date GMT");
I don't know if we can create several cookies using this command.
I have tried on IE4, and it don't work.
Could you help me ?
Could you help me ?
http://www.php.net/manual/function.setcookie.php