Re: variables_order annoyance
| From: | Rasmus Lerdorf | Date: | Tue, 14 Jan 2003 22:10:22 +0000 |
| Subject: | Re: variables_order annoyance | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-93472@lists.php.net to get a copy of this message | ||
> Check out this bug report:
>
> http://bugs.php.net/16155
Ah thanks, that's where I remember the discussion from. I do disagree
with one part:
(c) It shouldn't be possible to prevent $_GET, $_POST,
$_COOKIE, and $_FILES from being populated.
Why in the world not? I explicitly need to be able to prevent $_COOKIE
from being populated and showing up in $_REQUEST here at Yahoo because we
have access functions that we want to force people to go through to fetch
cookie data.
I think we should just have a completely clean separation of variable
ordering priority and superglobal array population. Before
register_globals it made sense to just have one setting for this as you
couldn't have one without the other, but today it doesn't make sense
anymore.
-Rasmus