Prevent Warning: POST Content-Length of …. bytes exceeds the limit – the smart fix

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

If you wish to attach one or more files enter the details below.

Maximum filesize per attachment: 1 MiB.

Expand view Topic review: Prevent Warning: POST Content-Length of …. bytes exceeds the limit – the smart fix

Prevent Warning: POST Content-Length of …. bytes exceeds the limit – the smart fix

by axew3 » Sun Nov 06, 2016 9:14 pm



When a form multipart/form-data is submitted to send a file, if dimension of submitted file to be uploaded exceeds the dimension of MAX_FILE_SIZE value, PHP emit a warning and the $_FILES global is empty.

Warning: POST Content-Length of …. bytes exceeds the limit

In WordPress you have something like:

Warning: POST Content-Length of ….. bytes exceeds the limit of … bytes in Unknown on line 0

Solution:
https://www.axew3.com/w3/2016/11/warning ... ow-to-fix/

Top