This could happpen when the file is open by another process,... then file is deleted, but filename is still there until the file is not free of any open filedescriptors... I don't know exactly what processes happens in kernel when deleting the file, but it's something like that... and it could result in your problem...

m.

Scott Fletcher wrote:

I have a file that was 25 KB and I use the unlink() to remove the file.
When I rechecked it, I found that the file is still there but it's filesize
is 0 KB.  Is unlink() suppose to remove the file or what??

FletchSOD


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



Reply via email to