ID:               43625
 Updated by:       [EMAIL PROTECTED]
 Reported By:      php-qa at sebastianmendel dot de
-Status:           Open
+Status:           Feedback
-Bug Type:         *General Issues
+Bug Type:         *Web Server problem
 Operating System: Windows XP SP2
 PHP Version:      5.3CVS-2007-12-18 (CVS)
 New Comment:

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.


Which SAPI is used?


Previous Comments:
------------------------------------------------------------------------

[2007-12-18 15:26:27] php-qa at sebastianmendel dot de

Description:
------------
the input name: "fields[field[test]]" reaches the script as
$_POST["fields"]["field[test"]

Reproduce code:
---------------
<html><head></head><body>
<form action="test.php" method="post">
<input type="text" name="funcs[field[test]]" value="test">
<input type="submit">
</form>
<pre><?php var_dump($_POST) ?></pre>
</body></html>

Expected result:
----------------
array(1) {
  ["funcs"]=>
  array(1) {
    ["field[test]"]=>
    string(4) "test"
  }
}

Actual result:
--------------
array(1) {
  ["funcs"]=>
  array(1) {
    ["field[test"]=>
    string(4) "test"
  }
}


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=43625&edit=1

Reply via email to