note 11929 added to function.setcookie.php
| From: | chris at kampmeier dot net | Date: | Tue, 13 Mar 2001 20:44:31 +0000 |
| Subject: | note 11929 added to function.setcookie.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-12347@lists.php.net to get a copy of this message | ||
For me, PHP 4 + IE5.5 would allow me to set $value as an integer. PHP 3 + IE5.5 would not, however.
So, for backwards compatibility, you should always set $value as a string, even if your intent is to
store an integer.
http://www.php.net/manual/en/function.setcookie.php