note 89749 added to function.http-build-cookie

From: Date: Sat, 21 Mar 2009 06:46:03 +0000
Subject: note 89749 added to function.http-build-cookie
Groups: php.notes 
Request: Send a blank email to php-notes+get-152249@lists.php.net to get a copy of this message
Note that you must cast the result of http_parse_cookie to an array before passing it to http_build_cookie (see http://bugs.php.net/bug.php?id=47740 ). Example: $cookie = http_parse_cookie('RMID=2dab5fc9296749c2f28ec0b7; expires=Saturday, 20-Mar-2010 01:34:06 GMT; path=/; domain=.nytimes.com'); var_dump(http_build_cookie((array)$cookie)); ---- Server IP: 216.235.13.26 Probable Submitter: 24.68.105.72 ---- Manual Page -- http://www.php.net/manual/en/function.http-build-cookie.php Edit -- https://master.php.net/note/edit/89749 Del: integrated -- https://master.php.net/note/delete/89749/integrated Del: useless -- https://master.php.net/note/delete/89749/useless Del: bad code -- https://master.php.net/note/delete/89749/bad+code Del: spam -- https://master.php.net/note/delete/89749/spam Del: non-english -- https://master.php.net/note/delete/89749/non-english Del: in docs -- https://master.php.net/note/delete/89749/in+docs Del: other reasons-- https://master.php.net/note/delete/89749 Reject -- https://master.php.net/note/reject/89749 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#152249) next »