Deleting a read-only file (Windows)

From: Date: Wed, 26 Jun 2002 10:34:10 +0000
Subject: Deleting a read-only file (Windows)
Groups: php.general 
Request: Send a blank email to php-general+get-103928@lists.php.net to get a copy of this message
Hi there, I'm trying to delete a file using PHP's unlink() function (on Windows). This works fine on writable files but fails when trying to delete read-only files. How can I delete read-only files? Is there a function available to change the permissions? Any help greatly appreciated. Neil -- ---------------------------- Work: neil.freeman@asa.co.uk Home: neil@curvedvision.com Web: www.curvedvision.com ----------------------------

« previous php.general (#103928) next »