Upload file via PHP won't allow me to delete it?

  • Thread starter Thread starter Broken M
  • Start date Start date
B

Broken M

Guest
I have a script that uploads a file using php and then moves it, blah blah. But then it won't allow me to delete it or even chmod it via php. The only way I could delete the files was to SSH over to the server and delete them myself, which is not sufficient. Any suggestions?

Error I get when trying to delete via FTP or cPanel:
Could not delete request_club_button.gif: Permission denied
Error -144: remote delete failed

When uploaded it sets permission to 644. I have tried to chmod it to 777 via the php script that uploads it and it still does not allow me to delete it unless I log in as root...anyone can help?
 
Back
Top