Warning: getimagesize() [function.getimagesize]: Filename cannot be empty warning message?

前端 未结 6 1970
野的像风
野的像风 2020-12-06 15:37

Up until recently I\'ve been using some PHP to upload photos to a site. But suddenly it\'s started triggering all sorts of error messages.

I use a form that on actio

6条回答
  •  無奈伤痛
    2020-12-06 15:58

    Change these parameters in your php.ini file; (Currently it allow only 2Mb size to upload and post). Sometimes it's reason for these errors.

    upload_max_filesize = 500M
    post_max_size = 500M
    max_execution_time = 120
    

提交回复
热议问题