note 38452 deleted from function.unlink by betz

From: Date: Wed, 07 Jan 2004 10:33:58 +0000
Subject: note 38452 deleted from function.unlink by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-63051@lists.php.net to get a copy of this message
Note Submitter: andrej at dairyweb dot com dot au ---- using apache and php on WINDOWS there is a peculiarity about using unlink. unlink can only take relative paths on windows. using an absolute path will only result in a "Permission denied" error. this means that this will work. unlink("/tempfile.txt"); while this will give a "permission denied" error. unlink("c:\web_root\tempfile.txt"); well, hope it help someone, because i was very frustrated till i figured it out.

« previous php.notes (#63051) next »