note 57260 added to function.setcookie
| From: | MichalNazarewicz at osu1 dot php dot net | Date: | Wed, 28 Sep 2005 17:08:51 +0000 |
| Subject: | note 57260 added to function.setcookie | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-95934@lists.php.net to get a copy of this message | ||
Re tohe at centrum dot cz:
$_COOKIE, $_SESSION, $_POST, $_GET, etc are superglobals and they don't need to be declared
'global' in functions.
Re Daine Mamacos:
Epoch is irrelevant here. Expire time is sent to browser in human readable format not as a UNIX
timestamp.
----
Manual Page -- http://www.php.net/manual/en/function.setcookie.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+57260
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+57260&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+57260&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+57260&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+57260&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+57260&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+57260&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+57260&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+57260&report=yes
Search -- http://master.php.net/manage/user-notes.php