note 1414 modified in setcookie by ronabop
| From: | ronabop@php.net | Date: | Sat, 26 Aug 2000 05:33:21 +0000 |
| Subject: | note 1414 modified in setcookie by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-3331@lists.php.net to get a copy of this message | ||
Just a nice tip for you folks. You can also
set cookies in a script that outputs image data
instead of html.
<?
SetCookie("Name","value");
Header("Content-type: image/gif");
?>
</pre>
An image sets a cookie :)
Bram
http://www.php.net/manual/function.setcookie.php