mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
revert &php; to PHP
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@159536 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
008af441d7
commit
bef977e9d4
1 changed files with 9 additions and 9 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue