#34573 [Opn->Csd]: features.cookies needs a rewrite to de-emphasise register globals
| From: | vrana@php.net | Date: | Wed, 21 Sep 2005 08:24:11 +0000 |
| Subject: | #34573 [Opn->Csd]: features.cookies needs a rewrite to de-emphasise register globals | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969370255@lists.php.net to get a copy of this message | ||
ID: 34573
Updated by: vrana@php.net
Reported By: phpbugs-david at tulloh dot id dot au
-Status: Open
+Status: Closed
Bug Type: Documentation problem
PHP Version: Irrelevant
Assigned To: Derek
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
"Any cookies sent to you from the client will automatically be included
into a $_COOKIE auto-global array if variables_order contains "C".
...
Depending on register_globals, regular PHP variables can be created
from cookies. However it's not recommended to rely on them as this
feature is often turned off for the sake of security."
Previous Comments:
------------------------------------------------------------------------
[2005-09-21 07:33:03] phpbugs-david at tulloh dot id dot au
Description:
------------
The cookie feature page (http://php.net/manual/en/features.cookies.php)
is written to emphasise the register globals technique of dealing with
cookies. The newer $_COOKIE variable is mentioned, but in less detail
than using register globals and setcookie(). The page should be
updated to switch this emphasis and discourage the use of register
globals.
The following link to the $_COOKIE section of the manual should also be
included somewhere.
http://php.net/manual/en/reserved.variables.php#reserved.variables.cookies
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34573&edit=1