Search code examples
phpunlink

Why won't my php code "unlink" text files?


I have two text files, and a PHP script intended to delete them. My question is: why won't the two text files delete? They are both set to 777, maybe i should change permission settings? I think it's my webhost disallowing the function to execute...

Here is my code: http://informationalinformation.info/fg/cron.php


Solution

  • The process must have write permission for the folder in which the file is located.