Doc #64058 [Opn->Csd]: Warn about register_globals
| From: | krakjoe@php.net | Date: | Thu, 24 Jan 2013 12:57:37 +0000 |
| Subject: | Doc #64058 [Opn->Csd]: Warn about register_globals | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-9466@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=64058&edit=1
ID: 64058
Updated by: krakjoe@php.net
Reported by: ph57 at brisk dot org dot uk
Summary: Warn about register_globals
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
Operating System: n/r
PHP Version: 5.3.21
-Assigned To:
+Assigned To: krakjoe
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2013-01-24 12:35:49] krakjoe@php.net
http://php.net/manual/en/ini.core.php#ini.register-globals
register_globals is a deprecated feature in the version of PHP you are reported
to be using. It is removed in the final release after it.
Therefore there is no need to include any more information than is included in
the manual page I have linked to.
------------------------------------------------------------------------
[2013-01-23 20:14:27] ph57 at brisk dot org dot uk
Description:
------------
---
From manual page: http://uk1.php.net/manual/en/session.examples.basic.php
---
Please can we have a very prominent WARNING, in the introduction to session, along the lines of:-
WARNING: if register_globals is set ON, then any key you use in $_SESSION will be a reference to a
global variable of the same name. This will cause your session vasriables to change unexpectedly if
you accidentally use a key that happens to match the name of an existing global variable.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=64058&edit=1