jjzjj

displayMaxSize

全部标签

PHP 警告 : POST Content-Length of n bytes exceeds the limit of 3145728 bytes in Unknown on line 0

我很惊讶地在我的错误日志中发现上述错误,因为我认为我已经完成了必要的工作来捕获我的PHP脚本中的错误:if($_FILES['image']['error']==0){//goaheadtoprocesstheimagefile}else{//determinetheerrorswitch($_FILES['image']['error']){case"1":$msg="Uploadedfileexceedstheupload_max_filesizedirectiveinphp.ini.";break;....}}在我的PHP.ini脚本中,相关的设置是:memory_limit=1