Question

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

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top