Re: unlink(), why doesn't it delete the file????
| From: | Scott Fletcher | Date: | Tue, 20 Jul 2004 14:18:56 +0000 |
| Subject: | Re: unlink(), why doesn't it delete the file???? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-191165@lists.php.net to get a copy of this message | ||
See my other post on this one. I don't know, maybe a bug in M$ Outlook or
something. (Whistling and looking away from the issues).... :-)
"Jay Blanchard" <jay.blanchard@niicommunications.com> wrote in message
news:C8F323573C030A448F3E5A2B6FE2070B03522738@nemesis...
[snip]
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??
[/snip]
You do not say what your OS is, but I just tested on Linux and BSD and
it 'removed' the file.
Why did you post this twice??