note 49642 added to function.setcookie
| From: | mluggy at gmail dot com | Date: | Thu, 03 Feb 2005 17:05:59 +0000 |
| Subject: | note 49642 added to function.setcookie | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-84447@lists.php.net to get a copy of this message | ||
It seems like PHP 4* does not accept pure dynamic naming for cookies.
While this won't store anything:
setcookie($name, $value).
This will:
setcookie($name . '_data', $value)
----
Manual Page -- http://www.php.net/manual/en/function.setcookie.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+49642
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+49642&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+49642&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+49642&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+49642&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+49642&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+49642&report=yes
Search -- http://master.php.net/manage/user-notes.php