ID: 22427 Comment by: ascj20 at dsl dot pipex dot net Reported By: jroland at uow dot edu dot au Status: No Feedback Bug Type: *General Issues Operating System: Windows XP / 2000 PHP Version: 4.2.3 New Comment:
On WinXP SP1 / Apache 1.3.27 / PHP 4.2.2(module) / testing locally with IE6 SP1 This bug has changed topic it seems, but on the original matter I have it too - tiny effective limits with $_POST and $_FILES. By echoing getenv(CONTENT_LENGTH) I find a limit of 488 bytes from text-only form data (above which $_POST returns empty). Using HTTP upload by POST the cutoff is about 2.5k for a gif file. (Limit is higher when not using SSL but I guess that is to be expected?) I hope this is a useful contribution to a bug that seems to be taxing a lot of folks. Previous Comments: ------------------------------------------------------------------------ [2003-06-05 08:20:19] webmaster at dtshowtime dot lu dot eu dot org I can also reproduce this problem with PHP 4.3.2. ------------------------------------------------------------------------ [2003-05-21 04:52:16] webmaster at dtshowtime dot lu dot eu dot org I am experiencing the same problem under WinXP SP1, Apache 1.3.27, PHP 4.3.1 (installed as Apache Module). In my particular case I tried installing postnuke and got stuck an the license screen (a large textarea) which just won't get submitted using POST. I also experience intermittent POST failures when submitting smaller forms (like the first install screen which only asks to select a language). What is the parameter in httpd.conf that should be checked? I would be glad to assist in getting rid of this as it is very annoying. ------------------------------------------------------------------------ [2003-04-06 06:57:42] [EMAIL PROTECTED] No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. ------------------------------------------------------------------------ [2003-03-30 06:55:10] [EMAIL PROTECTED] I guess your problem is identical to bug #19460. Please confirm if httpd.conf is edited correctly. ------------------------------------------------------------------------ [2003-03-27 02:08:36] sendoffer at ukr dot net I did not report that bug, but have the problem with post variables. I am using PHP 4.2.3-Win32 as a module for Apache 1.3.27., Windows 2000. When POST is used like in: -------------------------------------- <form action="" method="post" name="message"> <p>E-mail: <input name="p_email" value="" type="text" size="50"> </p> <p>Sibscribe options:<br> <select multiple name="p_s[]"> <option value="sub_news_company">Company news</option> <option value="sub_news_employees">News from Employees</option> <option value="sub_proposals">Proposals</option> </select> </p> <p> <input name="Input" type="reset" value=" Reset "> <input name="Input" type="submit" value=" Sibscribe "> </p> </form> <hr> <?php if ($HTTP_POST_VARS['p_s']) { $p_s=$HTTP_POST_VARS['p_s']; echo '<pre>'; print_r($p_s); echo '</pre>'; } ?> -------------------------------------- After submitting this form (2 last options selected) I got: -------------------------------------- Array ( [0] => news_employees [1] => proposals ) -------------------------------------- Values of the post array are missing 4 left letters! I've experimented different ways but result is the same: when post variable is array - values always trimmed by 4 left letters. regards, Yegor ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/22427 -- Edit this bug report at http://bugs.php.net/?id=22427&edit=1