Re: Re: $_GET, $_POST, $_COOKIE, $_FILES == $_REQUEST?
| From: | Rasmus Lerdorf | Date: | Wed, 16 Oct 2002 03:10:50 +0000 |
| Subject: | Re: Re: $_GET, $_POST, $_COOKIE, $_FILES == $_REQUEST? | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-89540@lists.php.net to get a copy of this message | ||
Because there is more data associated with a file upload than just a
single piece.
On Tue, 15 Oct 2002, Chris Shiflett wrote:
> 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
> >
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
>