Req #26986 [Com]: make error message for exceding post_max_size friendlier

From: Date: Sat, 05 May 2018 17:38:26 +0000
Subject: Req #26986 [Com]: make error message for exceding post_max_size friendlier
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-215062@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=26986&edit=1 ID: 26986 Comment by: spam2 at rhsoft dot net Reported by: felix at students dot poly dot edu Summary: make error message for exceding post_max_size friendlier Status: Closed Type: Feature/Change Request Package: *General Issues Operating System: Linux 2.6.1 PHP Version: 4.3.4 Assigned To: requinix Block user comment: N Private report: N New Comment: But the "unknown" is nonsense and annoying for many years given that this can be set per directory and php for sure knows the called script Previous Comments: ------------------------------------------------------------------------ [2018-05-05 17:32:57] requinix@php.net Old request is old. Current message is > POST Content-Length of $X bytes exceeds the limit of $Y bytes which sounds clear to me. ------------------------------------------------------------------------ [2004-01-21 01:42:51] felix at students dot poly dot edu Description: ------------ I recently made a mistake in php.ini file I have typed post_max_size=24MB Php took this as 24 bytes. Maybe the checking should be stricter there too. The warning was not very clear it was like Warning Unknown() Actual POST size did not match Contnet-Lenigh and exceding 24 bytes. Warning should be error and it should be clear like "Size of Post message exceded maximum allowed size of 24bytes" ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=26986&edit=1

« previous php.bugs (#215062) next »