I wrote some code that let me upload a file to my server. Then I wrote
some code to let me delete the file. But when I try to delete, I get
this error:
Warning: Unlink failed (Permission denied) in
/usr/local/www/vhosts/publicdomainsof tware.org/htdocs/ppUtilityCode/mcAdminImages.p hp
on line 254
I don't get it. If PHP uploads the file, how can PHP not have the
permission to delete it?
some code to let me delete the file. But when I try to delete, I get
this error:
Warning: Unlink failed (Permission denied) in
/usr/local/www/vhosts/publicdomainsof tware.org/htdocs/ppUtilityCode/mcAdminImages.p hp
on line 254
I don't get it. If PHP uploads the file, how can PHP not have the
permission to delete it?
Comment