ID: 43625 Updated by: [EMAIL PROTECTED] Reported By: php-qa at sebastianmendel dot de -Status: Open +Status: Bogus -Bug Type: *Web Server problem +Bug Type: Apache related Operating System: Windows XP SP2 PHP Version: 5.3CVS-2007-12-18 (CVS) New Comment:
That's simply invalid form data that PHP simply won't understand. No bug here. Untested: <input type="text" name="funcs[field][test]" value="test"> This should work.. Previous Comments: ------------------------------------------------------------------------ [2008-01-29 08:09:16] php-qa at sebastianmendel dot de Apache mod_php ------------------------------------------------------------------------ [2008-01-29 00:20:41] [EMAIL PROTECTED] 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? ------------------------------------------------------------------------ [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