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

From: Date: Wed, 16 Oct 2002 01:08:30 +0000
Subject: Re: Re: $_GET, $_POST, $_COOKIE, $_FILES == $_REQUEST?
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-89533@lists.php.net to get a copy of this message
Melvyn Sopacua wrote:
First 'force' people to use superglobals, then say "ehm - yeah, but ehm uploaded files are not userdata, because they are not in $_REQUEST".
Is it very important? Anyway, it is easier to write more robust application with $_GET/$_PSOT/$_COOKIE/$_FILES, IMO. $_REQUEST is useful but $_FILES is not strictly needed to be in $_REQUEST especially when $_FILES structure needed to be changed to make it work correctly. Changes in $_FILES structure breaks all applications uses $_FILES. Removing $_FILES from $_REQUEST does not break not many applications, I hope ;) Anyway, I'm 0 for all options. If we'll fix $_FILES structure, sooner is better. -- Yasuo Ohgaki

« previous php.dev (#89533) next »