From: marcel at zwerfkei dot nl Operating system: Linux 2.6.18 PHP version: 5.2.5 PHP Bug Type: Arrays related Bug description: https://87.249.105.116:8443/sitepreview/http/zwerfkei.nl/admin/test.php
Description: ------------ I have troubles with the next script. I check the post with Firebug in Firefox and the script is sending the post but it receive no data. I have write the script for Ajax but also in php (see example). Reproduce code: --------------- <form action="'.$_SERVER['PHP_SELF'].'" method="POST" enctype="multipart/form-data"> <input type="checkbox" value="0" name="thema[]" />0<br /> <input type="checkbox" value="1" name="thema[]" />1<br /> <input type="checkbox" value="2" name="thema[]" />2<br /> <input type="checkbox" value="3" name="thema[]" />3<br /> <input type="hidden" value="check" name="check" /> <input type="submit" value="verzend" /> </form> Expected result: ---------------- The hidden field check is do the right thing. So the POST function is working. if(!empty($_POST['thema'])){ print_r($_POST['thema']); } I also tried: foreach($_POST['thema'] as $post){ echo $post; } both results are empty. -- Edit bug report at http://bugs.php.net/?id=43966&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=43966&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=43966&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=43966&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=43966&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=43966&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=43966&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=43966&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=43966&r=needscript Try newer version: http://bugs.php.net/fix.php?id=43966&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=43966&r=support Expected behavior: http://bugs.php.net/fix.php?id=43966&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=43966&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=43966&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=43966&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43966&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=43966&r=dst IIS Stability: http://bugs.php.net/fix.php?id=43966&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=43966&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=43966&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=43966&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=43966&r=mysqlcfg