You need to chmod or chown the directory where the file is located.

James Brash wrote:

Hi,
I have a problem using unlink(); on a system using FreeBSD and Apache...
where my local system using Windows and Apache experiences no problems.

<?
unlink("test1.php");
?>

On the windows system is deletes the file, but on the FBSD system the file
does not delete and returns no error. I have tried using the full path, and
CHMODing the files but no luck. Thanks for any help/advice you can give me.

James Brash




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to