Jump to content

Warning: POST Content-Length exceeds limit


PHPNS

Recommended Posts

Hi,

 

Is there a way to avoid/hide the default

 

'Warning: POST Content-Length' of xxxxxxxxxx bytes exceeds the limit of xxxxxxxxxx'

 

if file uploads are too large for php.ini, when uploading files via a form? That is, if the PHP.ini settings aren't accessible. 

 

 

Thanks.

Thanks for all the notes.  But I think there may be something else to it.  Basically, how do you restrict a user from posting/submitting a file larger than the ini setting allow (besides the html form - 'MAX FILE SIZE' which can be hacked), because although the php script is in place, on the receiving page, to dis-allow large files, there is still the problem of the user still trying (pressing submit), and getting the above mentioned error (before the receiving page has the opportunity to execute the script).  Know what I mean?  There may very well be a simply workaround for this but I'm not sure. 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.