Re: re: _FILES
| From: | Vlad Bosinceanu | Date: | Fri, 09 Feb 2007 00:44:28 +0000 |
| Subject: | Re: re: _FILES | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-27929@lists.php.net to get a copy of this message | ||
<input type="text" name="foo[]"> generates $_GET['foo'][0..n]
<input type="file" name="foo[]"> generates $_FILES['foo']['tmp_name/name/etc'][0..n]
I think this could pretty much be considered an inconsistence but changing wouldn't possible due to the BC demon awakening and wreaking havoc upon doing so.
V
Darrel O'Pry wrote:
On Thu, 2007-02-08 at 17:15 -0600, Brian Moon wrote:Maybe that is not the correct diction. I picked it up somewhere digging through bugs looking for an explanation. But by html arrays I mean specify input names as arrays, that you handle as arrays in php. html array <input name='files[file1]' type='file'> vs. not an html array <input name='file' type='file'>Darrel O'Pry wrote:What is an html array?the _FILES array is structured as it is with html arrays.I was wondering if anyone could point me to a resource explaining why