note 47670 deleted from security.globals by danbrown
| From: | danbrown@php.net | Date: | Thu, 15 Jan 2009 16:37:56 +0000 |
| Subject: | note 47670 deleted from security.globals by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-149280@lists.php.net to get a copy of this message | ||
Note Submitter: ryanwray at gmail dot com
----
In reply to ben at nullcreations dot net:
This is true of the super-global $_SESSION, as it will always be processed last (it is not
considered in variables_order directive)
However, it is possible to over-write other data, namely GET, POST, COOKIE, ENVIROMENT and SERVER.
Of course, what you can overwrite will depend on the directive variables_order - by default, you
could overwrite GET and POST data via COOKIE (because cookie data is processed last out of the three
which should not really be of great concern.
My below code is irrelevant unless extract or another method which does the same thing (ie. I have
seen variable variables used before to reach the same affect) is used.