> From: Neil Freeman <[EMAIL PROTECTED]>
> 
> 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?
> 
I thought unlink() did not work on Windows. Notes in the manual suggest this
for Windows:

system("del name.ext");

--
Lowell Allen


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

Reply via email to