note 10174 deleted from function.header by jimw
| From: | jimw@php.net | Date: | Wed, 31 Oct 2001 22:28:59 +0000 |
| Subject: | note 10174 deleted from function.header by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-19832@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=/;");