note 23768 added to function.setcookie
| From: | noreply at my dot com | Date: | Sat, 27 Jul 2002 19:16:52 +0000 |
| Subject: | note 23768 added to function.setcookie | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-33705@lists.php.net to get a copy of this message | ||
we recently upgraded to php 4.2.2 and a poll script we used broke. After looking at the setcookie()
string I noticed it looked like this.
setcookie("logged_in", $username, "time()+7200", $PHP_SELF);
Those quotes did not look right at all so removing them fixed it. But that file and a seperate
installation on another website on the server both had the same problem.
--
http://www.php.net/manual/en/function.setcookie.php
http://master.php.net/manage/user-notes.php?action=edit+23768
http://master.php.net/manage/user-notes.php?action=delete+23768
http://master.php.net/manage/user-notes.php?action=reject+23768