Category: Php tips and hints
-
Prevent Warning: POST Content-Length of bytes exceeds the limit – how to fix smartly
—
by
When a form multipart/form-data is submitted to send a file, if dimension of submitted file on form 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…