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

From: Date: Wed, 16 Oct 2002 21:28:45 +0000
Subject: Re: Re: $_GET, $_POST, $_COOKIE, $_FILES == $_REQUEST?
References: 1 2 3 4 5 6 7  Groups: php.dev 
Request: Send a blank email to php-dev+get-89584@lists.php.net to get a copy of this message
On Thu, 17 Oct 2002, Jani Taskinen wrote: >On Wed, 16 Oct 2002, Derick Rethans wrote: > >>On Wed, 16 Oct 2002, Markus Fischer wrote: >> >>> On Wed, Oct 16, 2002 at 02:38:52AM -0500, Chris Shiflett wrote : >>> > 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. >>> >>> It makes quite sense to me that _FILES is separate. It is >>> much easier that way to iterate through multiple uploaded >>> files without much hassle. >> >>Another good point to keep them seperate :) But of course that whould >>have been possible anyway, wheter it's possible to access ot from the >>$_REQUEST hash or not.. > > I actually thought that $_FILES wasn't part of $_REQUEST > before that bug report came in.. > > And it's not separate from EGPCS btw. (php.ini: variables_order) > Which one controls it? P? :) > > And I think import_request_variables() doesn't work either for those.. > Should read the manual more often..it does support FILES too. :I (dunno if it actually works though, haven't tested it) --Jani

« previous php.dev (#89584) next »