When submitting a form with file attachment that exceeds the POST Content-Length limit I get the following warning
Warning: POST Content-Length of 143854246 bytes exceeds the limit of 134217728 bytes in Unknown on line 0
My issue is that for some reason PHP acts as if $_POST['form_input_field']
does not exist and I get this error
Undefined index: form_input_field ...
The inputs exist and contain values, and if the file does not exceed the limit, PHP gets it just fine.
I solve the issue by adding isset isset($_POST['form_input_field'])
. but is there an explanation as to why PHP can't get $_POST['form_input_field']
?
EDIT:
I don't have a problem with the limit and don't want to increase it.
EDIT
I have no intention of increasing the upload limit. I simply want to know why PHP thinks $_POST['form_input_field']
does not exist after the warning.