From:             tp at tpsoftware dot nl
Operating system: OpenSuSE10
PHP version:      5.2.4RC1
PHP Bug Type:     *Web Server problem
Bug description:  maximum of 200 fields in $_POST/$_REQUEST

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

-- 
Edit bug report at http://bugs.php.net/?id=42249&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=42249&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=42249&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=42249&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=42249&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=42249&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=42249&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=42249&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=42249&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=42249&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=42249&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=42249&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=42249&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=42249&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=42249&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=42249&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=42249&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=42249&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=42249&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=42249&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=42249&r=mysqlcfg

Reply via email to