Re: unlink(), why doesn't it delete the file????
| From: | Scott Fletcher | Date: | Tue, 20 Jul 2004 14:19:05 +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-191166@lists.php.net to get a copy of this message | ||
Never mind that, found hte problem. It's because I set the fopen to write
only somewhere... The unlink now work correctly (deleted file)...
"Scott Fletcher" <scott@abcoa.com> wrote in message
news:20040720135715.25775.qmail@pb1.pair.com...
> 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