If you have the file still open or another process (such as another
user) has the file open it will not delete it. Probably the best
solution (if it's not critical that the file be deleted) is to just
supress the errors by using the @ symbol like this:
@unlink("filename");
Ryan Marrs wrote
Hrrrm, seems I can't get the unlink command to work, is there a better way
to delete files in Win2k? Always errors out that it can't find the file.
I'm assuming this is an NT Permissions issue, even though the files are set
full control by the user IIS/PHP is running as. Another note, these file