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

From: Date: Wed, 16 Oct 2002 03:06:28 +0000
Subject: Re: Re: $_GET, $_POST, $_COOKIE, $_FILES == $_REQUEST?
References: 1 2 3 4  Groups: php.dev 
Request: Send a blank email to php-dev+get-89539@lists.php.net to get a copy of this message
Out of curiosity, why are files treated differently than all other form variables submitted via POST? We don't have $_TEXT, $_RADIO, etc. Maybe there is a good reason, but it seems counter-intuitive to me. Chris Sterling Hughes wrote:
On Wed, 2002-10-16 at 04:45, Jani Taskinen wrote:
On Wed, 16 Oct 2002, Yasuo Ohgaki wrote:
Another option. How about remove $_FILES contents from $_REQUEST? It seems it has less impact.
     
+1 for this option. There's really no need it for to be in $_REQUEST..
except that its data coming from the "request" ? :) -Sterling


« previous php.dev (#89539) next »