note 79900 added to security.globals
| From: | oirinel at yahoo dot com | Date: | Tue, 18 Dec 2007 20:35:15 +0000 |
| Subject: | note 79900 added to security.globals | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-133762@lists.php.net to get a copy of this message | ||
when using register_globals=On be careful since using something like:
$_SESSION['value'] = 'some value';
$value = 'another value';
echo $_SESSION['value']; // !!! will print 'another value' !!!!
Hope this will save someone from headaches and from loosing hours!
----
Server IP: 69.147.83.197
Probable Submitter: 86.121.14.242
----
Manual Page -- http://www.php.net/manual/en/security.globals.php
Edit -- https://master.php.net/note/edit/79900
Del: integrated -- https://master.php.net/note/delete/79900/integrated
Del: useless -- https://master.php.net/note/delete/79900/useless
Del: bad code -- https://master.php.net/note/delete/79900/bad+code
Del: spam -- https://master.php.net/note/delete/79900/spam
Del: non-english -- https://master.php.net/note/delete/79900/non-english
Del: in docs -- https://master.php.net/note/delete/79900/in+docs
Del: other reasons-- https://master.php.net/note/delete/79900
Reject -- https://master.php.net/note/reject/79900
Search -- https://master.php.net/manage/user-notes.php