Re: re: _FILES

From: Date: Sun, 11 Feb 2007 06:24:26 +0000
Subject: Re: re: _FILES
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-27996@lists.php.net to get a copy of this message
On Thu, February 8, 2007 5:15 pm, Brian Moon wrote: > Darrel O'Pry wrote: >> I was wondering if anyone could point me to a resource explaining >> why >> the _FILES array is structured as it is with html arrays. > > What is an html array? I believe he means HTTP array such as $_GET $_POST $_REQUEST $_COOKIES $_FILES is a bit bass-ackwards with the keys in an unexpected order, when compared to those others. It always struck me as odd, but I just shrugged and went on with life. I don't think it's something you'd want to change at this point, really, as the BC break would be quite painful. I suppose one could duplicate the array with the keys arranged in a more consistent order in another superglobal, but that's just begging for confusion. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some starving artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So?

« previous php.internals (#27996) next »