From: Operating system: Linux PHP version: 5.3.2 Package: Arrays related Bug Type: Bug Bug description:Maximum 127 form fields
Description: ------------ If an html form contains more than 127 fields, any additional fields will not appear in $_POST, $_GET, $_POST, $_FILES. Now will it appear as the actual variable name if register globals is on. SUHOSIN is not turned on. I'm sending the form as POST. No error is reported anywhere. Test script: --------------- <form action="manage_site" method="post" enctype="multipart/form-data"> <input type="file" name="some_file[]> <input type="file" name="some_file[]> <input type="file" name="some_file[]> ...... <input type="file" name="some_file[]> <input type="submit"> </form> -------------------------- print_r($_FILES[some_file]); // Will post only info for the first 127 files. Expected result: ---------------- PHP should accept an unlimited number of form fields and return them as the usual variables--or at least give a way for us to overrule this default limit of 127 fields. Actual result: -------------- Only the first 127 array elements are saved form an html form POST. -- Edit bug report at http://bugs.php.net/bug.php?id=52239&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=52239&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=52239&r=trysnapshot53 Try a snapshot (trunk): http://bugs.php.net/fix.php?id=52239&r=trysnapshottrunk Fixed in SVN: http://bugs.php.net/fix.php?id=52239&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=52239&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=52239&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=52239&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=52239&r=needscript Try newer version: http://bugs.php.net/fix.php?id=52239&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=52239&r=support Expected behavior: http://bugs.php.net/fix.php?id=52239&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=52239&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=52239&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=52239&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=52239&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=52239&r=dst IIS Stability: http://bugs.php.net/fix.php?id=52239&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=52239&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=52239&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=52239&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=52239&r=mysqlcfg