Bug #49945 [Opn->Wfx]: Array in multipart/form-data
| From: | felipe@php.net | Date: | Sun, 20 Jun 2010 21:54:33 +0000 |
| Subject: | Bug #49945 [Opn->Wfx]: Array in multipart/form-data | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-151680@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=49945&edit=1
ID: 49945
Updated by: felipe@php.net
Reported by: marielyne at acanac dot net
Summary: Array in multipart/form-data
-Status: Open
+Status: Wont fix
Type: Bug
Package: Scripting Engine problem
Operating System: Windows 7
PHP Version: 6SVN-2009-10-21 (snap)
New Comment:
Old trunk related.
Previous Comments:
------------------------------------------------------------------------
[2009-10-21 15:16:38] marielyne at acanac dot net
Description:
------------
$_POST gets shrunk to 1 element
Reproduce code:
---------------
<form method="post" enctype="multipart/form-data">
<input type="text" name="test[]" value="1" />
<input type="text" name="test[]" value="2" />
<input type="text" name="test[]" value="3" />
<input type="submit" />
</form>
<?php
print_r($_POST);
?>
Expected result:
----------------
5.3.0 and 5.2.11 print
Array ( [test] => Array ( [0] => 1 [1] => 2 [2] => 3 ) )
Actual result:
--------------
Array ( [test] => Array ( [0] => 3 ) )
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=49945&edit=1