Doc #64058 [NEW]: Warn about register_globals
| From: | ph57 at brisk dot org dot uk | Date: | Wed, 23 Jan 2013 20:14:27 +0000 |
| Subject: | Doc #64058 [NEW]: Warn about register_globals | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-9462@lists.php.net to get a copy of this message | ||
From: ph57 at brisk dot org dot uk
Operating system: n/r
PHP version: 5.3.21
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:Warn about register_globals
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 bug report at https://bugs.php.net/bug.php?id=64058&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=64058&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=64058&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=64058&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=64058&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=64058&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=64058&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=64058&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=64058&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=64058&r=support
Expected behavior: https://bugs.php.net/fix.php?id=64058&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=64058&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=64058&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=64058&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=64058&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=64058&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=64058&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=64058&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=64058&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=64058&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=64058&r=mysqlcfg