note 50134 added to function.setcookie

From: Date: Sat, 19 Feb 2005 04:47:33 +0000
Subject: note 50134 added to function.setcookie
Groups: php.notes 
Request: Send a blank email to php-notes+get-85238@lists.php.net to get a copy of this message
I have been trying to get any cookie to set but am unable, using any of the posted helpers. I am using WinXP with IE6, but I also tried this with Firefox. Whether I use something like, setcookie("testcookie", "value"); or setcookie('test', 'value', false, '/', false, 0); or setcookie("mycookie", "value", time() + 3600); Doesn't matter, I can't get a single cookie to set. I'm pulling my hair out! Can anyone help? ---- Manual Page -- http://www.php.net/manual/en/function.setcookie.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+50134 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+50134&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+50134&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+50134&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+50134&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+50134&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+50134&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#85238) next »