PHP move_uploaded_file permission denied

前端 未结 1 707
再見小時候
再見小時候 2021-01-20 12:43

I have been attempting to move images from a form to an upload folder on my website which is hosted by godaddy. When using the move_uploaded_file() method, I get a permissio

相关标签:
1条回答
  • 2021-01-20 13:05

    This is a Windows server (the slashes in the paths give it away). So you need to set permissions through the GoDaddy permissions panel. You need to set read/write permissions for uploads directory. Setting 777 by FTP doesn't cut it on Windows servers.

    http://support.godaddy.com/help/article/6481/setting-directory-permissions-with-windows-hosting-accounts/

    0 讨论(0)
提交回复
热议问题