riverhorse
riverhorse

Reputation: 151

Moving uploaded files problem in the host

So the problem is, move_uploaded_file works perfectly in local machine and I can delete also image by delete command but when I moved this to host and try to upload some image there, it doesn't move to the folder or delete images in the host. folders have 755 permission and I don't understand what to do.

Upvotes: 0

Views: 25

Answers (1)

MD. Jubair Mizan
MD. Jubair Mizan

Reputation: 1570

A possible problem is that you don't have permission to write into the target directory!!

Please check if you are able to with your provider. You may have to set FTP permissions 777 to upload directory or to choose a different upload path that is given by your ISP.

At least that is the most typical issue.

Upvotes: 1

Related Questions