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

From: Date: Wed, 16 Oct 2002 07:38:52 +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-89549@lists.php.net to get a copy of this message
While I think it is a bit unintuitive to have $_FILES separate like it is (rather than a part of $_POST, for example), I think it would be much worse to also separate it from $_REQUEST. After all, as Sterling pointed out, it is part of the request. Chris Derick Rethans wrote:
On Wed, 16 Oct 2002, Melvyn Sopacua wrote:
At 23:13 15-10-2002, Yasuo Ohgaki wrote:
Another option. How about remove $_FILES contents from $_REQUEST? It seems it has less impact.
     
I don't think Zeev and Derick will be able to go on any trips for a while then :-) First 'force' people to use superglobals, then say "ehm - yeah, but ehm uploaded files are not userdata, because they are not in $_REQUEST".
I would have no problem with leaving out $_FILES from $_REQUEST... Derick


« previous php.dev (#89549) next »