Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:27996 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 72517 invoked by uid 1010); 11 Feb 2007 06:24:23 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 72502 invoked from network); 11 Feb 2007 06:24:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Feb 2007 06:24:23 -0000 Authentication-Results: pb1.pair.com header.from=ceo@l-i-e.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=ceo@l-i-e.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain l-i-e.com from 67.139.134.202 cause and error) X-PHP-List-Original-Sender: ceo@l-i-e.com X-Host-Fingerprint: 67.139.134.202 o2.hostbaby.com FreeBSD 4.7-5.2 (or MacOS X 10.2-10.3) (2) Received: from [67.139.134.202] ([67.139.134.202:1733] helo=o2.hostbaby.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4A/6A-22659-696BEC54 for ; Sun, 11 Feb 2007 01:24:23 -0500 Received: (qmail 43867 invoked by uid 98); 11 Feb 2007 06:24:27 -0000 Received: from 127.0.0.1 by o2.hostbaby.com (envelope-from , uid 1013) with qmail-scanner-1.25 (clamdscan: 0.88.7/2546. Clear:RC:1(127.0.0.1):. Processed in 0.07042 secs); 11 Feb 2007 06:24:27 -0000 X-Qmail-Scanner-Mail-From: ceo@l-i-e.com via o2.hostbaby.com X-Qmail-Scanner: 1.25 (Clear:RC:1(127.0.0.1):. Processed in 0.07042 secs) Received: from localhost (HELO l-i-e.com) (127.0.0.1) by localhost with SMTP; 11 Feb 2007 06:24:26 -0000 Received: from 209.254.223.2 (SquirrelMail authenticated user ceo@l-i-e.com) by www.l-i-e.com with HTTP; Sun, 11 Feb 2007 00:24:26 -0600 (CST) Message-ID: <4775.209.254.223.2.1171175066.squirrel@www.l-i-e.com> In-Reply-To: <45CBAF0C.6030906@dealnews.com> References: <1170975758.5280.16.camel@bbox> <45CBAF0C.6030906@dealnews.com> Date: Sun, 11 Feb 2007 00:24:26 -0600 (CST) To: "Brian Moon" Cc: dopry@thing.net, internals@lists.php.net Reply-To: ceo@l-i-e.com User-Agent: Hostbaby Webmail MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: [PHP-DEV] re: _FILES From: ceo@l-i-e.com ("Richard Lynch") 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?