Re: Re: $_GET, $_POST, $_COOKIE, $_FILES == $_REQUEST?

From: Date: Wed, 16 Oct 2002 03:49:42 +0000
Subject: Re: Re: $_GET, $_POST, $_COOKIE, $_FILES == $_REQUEST?
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-89543@lists.php.net to get a copy of this message
Thanks, I see your point now. I like the solution 2, even though it is a bit ugly. Sterling Hughes wrote:
On Wed, 2002-10-16 at 05:35, Chris Shiflett wrote:
Is the thought here that no one will be depending on the weird format of the $_REQUEST array as mentioned in the bug report? If we're worried about BC, I don't see why we should favor one group of people (those using $_FILES) over another (those using $_REQUEST), unless I'm missing something ...
Simply because you really couldn't use $_REQUEST to access the files array in the past, at least not without risking some dangerous things/messed up results. The idea is while we can't normalize the source, we _must_ normalize it when it seeps into other parts of php.


« previous php.dev (#89543) next »