#44941 [Opn->Asn]: POST DATA LIMITED IN 60K WHEN LIMIT IS 20M

From: Date: Thu, 08 May 2008 10:54:02 +0000
Subject: #44941 [Opn->Asn]: POST DATA LIMITED IN 60K WHEN LIMIT IS 20M
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-124829@lists.php.net to get a copy of this message
 ID:               44941
 Updated by:       jani@php.net
 Reported By:      enadyo at hotmail dot com
-Status:           Open
+Status:           Assigned
-Bug Type:         Unknown/Other Function
+Bug Type:         *General Issues
 Operating System: CENTOS
 PHP Version:      5.2CVS-2008-05-08 (CVS)
-Assigned To:      
+Assigned To:      jani
 New Comment:

Jani: IIRC there was some Apache configuration thing that might
interfere with this. (Note: This is reminder for myself, ignore :)


Previous Comments:
------------------------------------------------------------------------

[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 (16 messages)

« previous php.bugs (#124829) next »