php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #54724
Patch SetCookie_function.patch revision 2011-05-12 20:19 UTC by altsysrq at gmail dot com

Patch SetCookie_function.patch for Documentation problem Bug #54724

Patch version 2011-05-12 20:19 UTC

Return to Bug #54724 | Download this patch
Patch Revisions:

Developer: altsysrq@gmail.com

Index: language/variables.xml
===================================================================
--- language/variables.xml	(revision 310976)
+++ language/variables.xml	(working copy)
@@ -973,9 +973,9 @@
      mechanism for storing data in the remote browser and thus
      tracking or identifying return users.  You can set cookies using
      the <function>setcookie</function> function.  Cookies are part of
-     the HTTP header, so the SetCookie function must be called before
-     any output is sent to the browser.  This is the same restriction
-     as for the <function>header</function> function.  Cookie data 
+     the HTTP header, so the <function>setcookie</function> function must be 
+     called before any output is sent to the browser.  This is the same 
+     restriction as for the <function>header</function> function.  Cookie data 
      is then available in the appropriate cookie data arrays, such 
      as <varname>$_COOKIE</varname>, <varname>$HTTP_COOKIE_VARS</varname> 
      as well as in <varname>$_REQUEST</varname>.  See the 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 04:01:29 2024 UTC