php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #26986 make error message for exceding post_max_size friendlier
Submitted: 2004-01-21 01:42 UTC Modified: 2018-05-05 17:32 UTC
Votes:4
Avg. Score:3.2 ± 0.8
Reproduced:1 of 3 (33.3%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: felix at students dot poly dot edu Assigned: requinix (profile)
Status: Closed Package: *General Issues
PHP Version: 4.3.4 OS: Linux 2.6.1
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: felix at students dot poly dot edu
New email:
PHP Version: OS:

 

 [2004-01-21 01:42 UTC] 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"


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-05-05 17:32 UTC] requinix@php.net
-Status: Open +Status: Closed -Package: Feature/Change Request +Package: *General Issues -Assigned To: +Assigned To: requinix
 [2018-05-05 17:32 UTC] 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.
 [2018-05-05 17:38 UTC] spam2 at rhsoft dot net
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
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 19:01:31 2024 UTC