|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-08-08 16:33 UTC] johannes@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 17:00:01 2025 UTC |
Description: ------------ After updating from version 5.1.2 to 5.2.3 no more than 200 fields are being recognized in the $_REQUEST or $_POST array. Just sending 250 vars in a form results in just 200 variables. Reproduce code: --------------- <? if ($_POST['upload']==1) { echo "Count: " . count($_POST); exit(); } else { $inputvars = ""; for ($i=0;$i<250;$i++) { $inputvars .= "<input type='hidden' name='var".$i."' value='".$i."'>"; } ?> <html> <body> <form method='post' action='phpinfo.php'> <input type='hidden' name='upload' value='1'> <?= $inputvars?> <input type='submit' name='button' value='go'> </form> </body> </html> <? } ?> Expected result: ---------------- Count: 252 Actual result: -------------- Count: 200