PHP - empty $_POST and $_FILES - when uploading larger files

前端 未结 5 1583
深忆病人
深忆病人 2020-11-29 04:18

I have a following problem, I have HTML form that uploads a file with some extra information. But it allows to upload files that only less then 10MB. But when user tries to

5条回答
  •  长情又很酷
    2020-11-29 04:26

    Run phpinfo() and check to make sure your upload_max_filesize and post_max_size directives are large enough.

    http://us.php.net/manual/en/ini.core.php#ini.upload-max-filesize

    http://us.php.net/manual/en/ini.core.php#ini.post-max-size

提交回复
热议问题