Why would $_FILES be empty when uploading files to PHP?

前端 未结 21 3370
一向
一向 2020-11-21 22:37

I have WampServer 2 installed on my Windows 7 computer. I\'m using Apache 2.2.11 and PHP 5.2.11. When I attempt to upload any file from a form, it seems to upload, but in PH

21条回答
  •  天命终不由人
    2020-11-21 23:12

    If you are trying to upload an array of files then you may need to increase max_file_uploads in php.ini which is by default set to 20

    Note: max_file_uploads can NOT be changed outside php.ini. See PHP "Bug" #50684

提交回复
热议问题