Unline file...permission denied
| From: | Aaron Wolski | Date: | Wed, 05 May 2004 18:06:46 +0000 |
| Subject: | Unline file...permission denied | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-185462@lists.php.net to get a copy of this message | ||
Hey all,
I have a script that DDI work but for some reason it no longer does.
It attempts to unlink a file before writing a new file.
The code for it is:
unlink("../../secure/Admin/Orders/order.txt");
Error is:
Warning: unlink(../../secure/Admin/Orders/order.txt): Permission denied
If I remove the unlink function, I can write to the file no problem but
there seems to be a hangup with unlink.
Any ideas??
Thanks!
Aaron