cvs: phpdoc /en/features cookies.xml

From: Date: Mon, 24 May 2004 20:03:04 +0000
Subject: cvs: phpdoc /en/features cookies.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969360917@lists.php.net to get a copy of this message
young Mon May 24 16:03:04 2004 EDT Modified files: /phpdoc/en/features cookies.xml Log: revert &php; to PHP http://cvs.php.net/diff.php/phpdoc/en/features/cookies.xml?r1=1.19&r2=1.20&ty=u Index: phpdoc/en/features/cookies.xml diff -u phpdoc/en/features/cookies.xml:1.19 phpdoc/en/features/cookies.xml:1.20 --- phpdoc/en/features/cookies.xml:1.19 Mon May 24 15:24:53 2004 +++ phpdoc/en/features/cookies.xml Mon May 24 16:03:04 2004 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.19 $ --> +<!-- $Revision: 1.20 $ --> <chapter id="features.cookies"> <title>Cookies</title> <para> - &php; transparently supports <acronym>HTTP</acronym> cookies. Cookies are a - mechanism for storing data in the remote browser and thus tracking or - identifying return users. You can set cookies using the - <function>setcookie</function> or <function>setrawcookie</function> + PHP transparently supports <acronym>HTTP</acronym> cookies. Cookies are a mechanism for + storing data in the remote browser and thus tracking or identifying return + users. You can set cookies using the <function>setcookie</function> or + <function>setrawcookie</function> function. Cookies are part of the <acronym>HTTP</acronym> header, so <function>setcookie</function> must be called before any output is sent to the browser. This is the same limitation that <function>header</function> @@ -18,7 +18,7 @@ <para> Any cookies sent to you from the client will automatically be turned into a - &php; variable just like <literal>GET</literal> and <literal>POST</literal> + PHP variable just like <literal>GET</literal> and <literal>POST</literal> method data, depending on the <link linkend="ini.register-globals">register_globals</link> and <link linkend="ini.variables-order">variables_order</link> configuration variables. If you wish to assign multiple values to a single @@ -26,11 +26,11 @@ </para> <para> - In &php; 4.1.0 and later, the <varname>$_COOKIE</varname> auto-global array + In PHP 4.1.0 and later, the <varname>$_COOKIE</varname> auto-global array will always be set with any cookies sent from the client. - <varname>$HTTP_COOKIE_VARS</varname> is also set in earlier versions of &php; + <varname>$HTTP_COOKIE_VARS</varname> is also set in earlier versions of PHP when the <link linkend="ini.track-vars">track_vars</link> configuration - variable is set. (This setting is always on since &php; 4.0.3.) + variable is set. (This setting is always on since PHP 4.0.3.) </para> <para>

« previous php.doc (#969360917) next »