RE: [PHP] unlink(), why doesn't it delete the file????
| From: | Jay Blanchard | Date: | Tue, 20 Jul 2004 14:07:12 +0000 |
| Subject: | RE: [PHP] unlink(), why doesn't it delete the file???? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-191162@lists.php.net to get a copy of this message | ||
[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??