note 10174 added to header
| From: | junk at markdonline dot com | Date: | Sat, 16 Dec 2000 23:31:16 +0000 |
| Subject: | note 10174 added to header | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-8796@lists.php.net to get a copy of this message | ||
an example of using header() to set a cookie, works better than setcookie() (it seems) based on what
I read in the setcooki() notes:
header ("Set-Cookie: u=$u; expires=time()+43200; path=/;");
http://www.php.net/manual/function.header.php