ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-dev
php-dev
#44941 [NEW]: POST DATA LIMITED IN 60K WHEN LIMIT IS 20M
by Enadyo At Hotmail Dot Com other posts by this author
May 7 2008 10:27PM messages near this date
#44942 [Opn->Fbk]: exec() hangs apache | #44941 [Opn->Bgs]: Post data size limited to 60k even when post_max_size = 20M
From:             enadyo at hotmail dot com
Operating system: CENTOS
PHP version:      5.2CVS-2008-05-08 (CVS)
PHP Bug Type:     Unknown/Other Function
Bug description:  POST DATA LIMITED IN 60K WHEN LIMIT IS 20M

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

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved