ID: 32212
Updated by: [EMAIL PROTECTED]
Reported By: gardan at gmx dot net
-Status: Open
+Status: Feedback
Bug Type: Documentation problem
Operating System: -
PHP Version: Irrelevant
New Comment:
What bug from 2002 are you talking about?
Previous Comments:
------------------------------------------------------------------------
[2005-03-07 02:56:02] gardan at gmx dot net
Description:
------------
Using a form with input name like name="foo[]" this is what is returned
for files:
$_FILES = array(1) {
["foo"]=>
array(5) {
["name"]=>
array(2) {
[0]=>
string(0) ""
[1]=>
string(0) ""
}
["type"]=>
array(2) {
[0]=>
string(0) ""
[1]=>
string(0) ""
}
[...snip...]
}
}
Expected:
$_FILES = array(1) {
["foo"]=>
array(2) {
[0]=>
array(5) {
[name]=>
string(0) ""
[type]=>
string(0) ""
[...snip...]
}
[1]=>
array(5) {
[0]=>
string(0) ""
[1]=>
string(0) ""
[...snip...]
}
}
}
This being highly unintuitive, though in a bug report from 2002 closed
as "won't change", should be documented.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32212&edit=1