#32212 [Csd]: vrana

From: Date: Mon, 14 Mar 2005 20:33:13 +0000
Subject: #32212 [Csd]: vrana
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969366969@lists.php.net to get a copy of this message
ID: 32212 User updated by: gardan at gmx dot net Reported By: gardan at gmx dot net Status: Closed Bug Type: Documentation problem Operating System: - PHP Version: Irrelevant Assigned To: vrana New Comment: philip@php.net: Was reported as Bug #20402 Previous Comments: ------------------------------------------------------------------------ [2005-03-07 11:34:45] vrana@php.net 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. ------------------------------------------------------------------------ [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

« previous php.doc (#969366969) next »