note 99423 added to function.setcookie

From: Date: Mon, 16 Aug 2010 20:45:17 +0000
Subject: note 99423 added to function.setcookie
Groups: php.notes 
Request: Send a blank email to php-notes+get-171740@lists.php.net to get a copy of this message
spent 3 hours trying to figure out why my cookies wont cleared out (clear out). turned out NOT to use single quotes (I like using them) WRONG: setcookie("id", '', time() - 3600); RIGHT: setcookie("id", "", time() - 3600); ---- Server IP: 69.147.83.197 Probable Submitter: 38.98.75.162 ---- Manual Page -- http://www.php.net/manual/en/function.setcookie.php Edit -- https://master.php.net/note/edit/99423 Del: integrated -- https://master.php.net/note/delete/99423/integrated Del: useless -- https://master.php.net/note/delete/99423/useless Del: bad code -- https://master.php.net/note/delete/99423/bad+code Del: spam -- https://master.php.net/note/delete/99423/spam Del: non-english -- https://master.php.net/note/delete/99423/non-english Del: in docs -- https://master.php.net/note/delete/99423/in+docs Del: other reasons-- https://master.php.net/note/delete/99423 Reject -- https://master.php.net/note/reject/99423 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#171740) next »