#44941 [Asn->Fbk]: Post data size limited to 60k even when post_max_size = 20M
by jani other posts by this author
May 10 2008 4:06PM messages near this date
#44941 [NoF->Opn]: Post data size limited to 60k even when post_max_size = 20M
|
#44941 [Opn->Asn]: POST DATA LIMITED IN 60K WHEN LIMIT IS 20M
ID: 44941
Updated by: jani@[...].net
-Summary: POST DATA LIMITED IN 60K WHEN LIMIT IS 20M
Reported By: enadyo at hotmail dot com
-Status: Assigned
+Status: Feedback
Bug Type: *General Issues
Operating System: CENTOS
PHP Version: 5.2CVS-2008-05-08 (CVS)
-Assigned To: jani
+Assigned To: fb-req-jani
New Comment:
Couple of questions: What was the configure line used to configure
PHP?
What Aapche MPM are you using? What PHP SAPI? Do you set any php.ini
options in some .htaccess file or in your httpd.conf? Check the
phpinfo() output
Previous Comments:
------------------------------------------------------------------------
[2008-05-08 10:54:02] jani@[...].net
Jani: IIRC there was some Apache configuration thing that might
interfere with this. (Note: This is reminder for myself, ignore :)
------------------------------------------------------------------------
[2008-05-08 05:27:49] enadyo at hotmail dot com
Description:
------------
OS: CENTOS, PHP 5.2, APACHE 2.1
At PHP.INI memory_limit is set to 20M
post_max_size is set to 20M
the same goes for maximum upload
however everything larger than 60K is cut off.
in another server with PHP 4.x everything works perfect even with huge
amounts of data
Please tell me if you want to see PHP.INI for ...verification. I'll be
glad to copy/paste it.
Reproduce code:
---------------
the code is simple:
<form action=target.php method=post>
<textarea name=a1> </textarea>
<button type=submit> send</button>
and for the target.php
<?
$a1=$_REQUEST['a1'];
echo $a1;
?>
Expected result:
----------------
the text (larger than 60.000 characters) to be displayed on screen
Actual result:
--------------
blank screen (nope, not because of an error, but because the variable
is null)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44941&edit=1
Thread:
Enadyo At Hotmail Dot Com
jani
Enadyo At Hotmail Dot Com
jani
Enadyo At Hotmail Dot Com
jani
Enadyo At Hotmail Dot Com
jani
jani
Enadyo At Hotmail Dot Com
jani
Enadyo At Hotmail Dot Com
jani
Enadyo At Hotmail Dot Com
jani
jani
|