Re: Unline file...permission denied

From: Date: Wed, 05 May 2004 18:54:19 +0000
Subject: Re: Unline file...permission denied
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-185475@lists.php.net to get a copy of this message
http server needs write permission to the directory (../../secure/Admin/Orders/). Permission on the file do not matter. Aaron Wolski wrote:
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


« previous php.general (#185475) next »