is_uploaded_file() blanks picture file when it is .bmp, why?

∥☆過路亽.° 提交于 2019-12-02 12:40:07

Error 1 means:

The uploaded file exceeds the upload_max_filesize directive in php.ini.

Perhaps you edited the wrong php.ini, or the directive is changed with an ini_set later on. To be sure, do a phpinfo() right before the upload processing code.

See php upload error codes
As per php documentation

UPLOAD_ERR_INI_SIZE

Value: 1; The uploaded file exceeds the upload_max_filesize directive in php.ini.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!