#23596 [NEW]: _POST variables disappear when relatively large data submitted

From: Date: Mon, 12 May 2003 19:50:24 +0000
Subject: #23596 [NEW]: _POST variables disappear when relatively large data submitted
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39496@lists.php.net to get a copy of this message
From: ashpool7 at yahoo dot com Operating system: Windows NT 4.0 SP6a PHP version: 4.3.1 PHP Bug Type: Variables related Bug description: _POST variables disappear when relatively large data submitted * Windows NT SP6a with all the patches * Apache 1.3.27, PHP 4.3.1 as a module. Mostly "reccomended" php.ini settings. * Using the zip binary. When using the code below, I get the "no filename" message, indicating that the POST variables have disappeared when the textarea is filled with over (aproximately) 1024K worth of data. To reproduce, I used a single character to fill the textarea. The post_max_size has not been altered from "8M", neither have any other such variables. No LimitRequest* variables have been set in Apache's httpd.conf. test.html------------------------------------------------ <html> <body> <form method="POST" action="bug.php"> <input type="hidden" name="filename" value="the file name"> <textarea rows="20" cols="80" name="contents"> </textarea><br> <input type="submit" value="Save"> </form> </body></html> bug.php-------------------------------------------------- <? if ( ! empty($_POST["filename"]) ) { reportError("No error"); } else { reportError("No filename"); } function reportError($err_str) { if ($err_str == "" ) $err_str = "Unspecified"; echo "<html><body>\n"; echo "<h3>$err_str</h3>\n"; echo "</body></html>\n"; } ?> -------------------------------------------------- -- Edit bug report at http://bugs.php.net/?id=23596&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23596&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23596&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23596&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23596&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23596&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23596&r=support Expected behavior: http://bugs.php.net/fix.php?id=23596&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23596&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23596&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23596&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23596&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23596&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23596&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23596&r=gnused

« previous php.bugs (#39496) next »