In my error log, I have: PHP Warning: POST Content-Length of 38662084 bytes exceeds the limit of 16777216 bytes in Unknown on line 0
I have in my php.ini file, a setting to generally have 16MB as the post_max_size or file_size, one of the two.
Anyway, I have a specific page on my site where I want to be able to have the POST max/file size be plenty bigger.
I've researched the Content-Length matter and I'm wondering what that has to do with it exactly and, if so, how a setting can be changed only on that page to allow larger uploads
I've tried ini_set() which doesn't seem to do anything no matter if I put it in the page with the form that will POST the file or the file which is being POSTed to, and I've tried a .htaccess file which, after doing a little research, told me should temporarily change the php.ini setting if the ini_set() fails. Is there no hope for me to temporarily change the setting? Other people seem like they're able to...
Content-Length
Moderator: General Moderators