Results 1 to 8 of 8
Thread: deleting files
May 26, 2011, 08:34 #1
- Join Date
- Oct 2009
- London, UK
- 1 Post(s)
- 0 Thread(s)
A project I'm working on at the moment requires me to delete files and folders on the server.
I'm testing it locally at the moment, and I'm running into a couple of problems.
Firstly, even though the subfolder and the files have their permissions set to 0777, I get the error message:
Warning: unlink(/Users/mickyginger/Sites/galleries/Cradles/index.php) [function.unlink]: Permission denied in /Users/mickyginger/Sites/includes/helpers.inc.php on line 20
Can anyone shed some light on the best practice for the creation and deletion of files and folders with php.