#32212 [Fbk->Csd]: vrana
| From: | vrana@php.net | Date: | Mon, 07 Mar 2005 10:34:46 +0000 |
| Subject: | #32212 [Fbk->Csd]: vrana | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969367732@lists.php.net to get a copy of this message | ||
ID: 32212
Updated by: vrana@php.net
Reported By: gardan at gmx dot net
-Status: Feedback
+Status: Closed
Bug Type: Documentation problem
Operating System: -
PHP Version: Irrelevant
Assigned To: vrana
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
Previous Comments:
------------------------------------------------------------------------
[2005-03-07 05:39:17] philip@php.net
What bug from 2002 are you talking about?
------------------------------------------------------------------------
[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