Why isn't my php move file script actually moving the file?

前端 未结 3 1973
庸人自扰
庸人自扰 2021-01-26 02:49

I am uploading files to a server using php and while the move_uploaded_file function returns no errors, the file is not in the destination folder. As you can see I am using the

3条回答
  •  一个人的身影
    2021-01-26 03:03

    You need to make sure that whoever is hosting your pages has the settings configured to allow you to upload and move files. Most will disable these functions as it's a sercurity risk.

    Just email them and ask whether they are enabled.

    Hope this helps.

提交回复
热议问题