note 28693 added to function.setcookie
| From: | nick at netdupe dot com | Date: | Tue, 21 Jan 2003 06:38:16 +0000 |
| Subject: | note 28693 added to function.setcookie | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-42505@lists.php.net to get a copy of this message | ||
If you are using the browser Safari from apple it is nessecary to use the following otherwise you
will not be able to use cookies in your scripts.
setcookie("name", "value", "/");
without the path the browser automatically sticks the script path in there therefore only allowing
the script that made the cookie able to use it.
--
http://www.php.net/manual/en/function.setcookie.php
http://master.php.net/manage/user-notes.php?action=edit+28693
http://master.php.net/manage/user-notes.php?action=delete+28693
http://master.php.net/manage/user-notes.php?action=reject+28693