php POST Content-Length of 11933650 bytes exceeds the limit of 8388608 bytes

chowxoongdoong

New Member
Hello I get similar errors in my error_log in php when users are uploading their files \[code\]PHP Warning: POST Content-Length of 11933650 bytes exceeds the limit of 8388608 bytes in Unknown on line 0\[/code\]Please help. In my php.ini (created custom ini file in public_html) would this solve this problem, how much would I have to set it to around 1GB? I am going to change my settings to this in php.ini, will it solve the problem?\[code\]upload_max_filesize = 1000M ;1GBpost_max_size = 1000M\[/code\]What would I set the 'memory_limit' limit to. Also would this be correct in my script to check file uploaded size is <1GB\[code\]if($_FILES["uploadedfile"]["size"]<1000000)\[/code\]Thanks
 
Top