note 49288 deleted from function.unlink by bjori
| From: | bjori@php.net | Date: | Wed, 12 Apr 2006 15:39:10 +0000 |
| Subject: | note 49288 deleted from function.unlink by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-107893@lists.php.net to get a copy of this message | ||
Note Submitter: admin at crazydrumguy dot info
----
Regarding the previous note, you can accomplish the same thing by using file_exists.
<?php
if(file_exists($file))
unlink($file);
?>