From: [EMAIL PROTECTED] Operating system: Red Hat 8.0 i386 PHP version: 4.3.0 PHP Bug Type: Apache2 related Bug description: Error parsing POST data
PHP 4.3 seems to be incorrectly interpreting POST data, try the script below. This is under Apache 2.0.40 as provided by Red Hat. <html> <head> <title>Form Test</title> </head> <body> <p><pre><?php print_r($_REQUEST); ?></pre></p> <form method="post"> <div> <input type="checkbox" name="test[]" value="One" /> One<br /> <input type="checkbox" name="test[]" value="Two" /> Two<br /> <input type="checkbox" name="test[]" value="Three" /> Three<br /> <input type="submit" name="submit" value="Submit" /> </div> </form> </body> </html> Choose all three checkboxes, and submit. This is what I get: Array ( [submit] => Submit [test] => Array ( [0] => One [1] => Two [2] => Three [3] => Two [4] => Three ) ) -- Edit bug report at http://bugs.php.net/?id=22172&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22172&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22172&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22172&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22172&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22172&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22172&r=support Expected behavior: http://bugs.php.net/fix.php?id=22172&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22172&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22172&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22172&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22172&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22172&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22172&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22172&r=gnused