note 48545 deleted from function.unlink by bjori
| From: | bjori@php.net | Date: | Wed, 12 Apr 2006 15:39:12 +0000 |
| Subject: | note 48545 deleted from function.unlink by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-107894@lists.php.net to get a copy of this message | ||
Note Submitter: xenon54 at generationphp dot net
----
Use @ to avoid having a warning error if the file is not found.
<?php
$return = @unlink('filename.txt');
// Return FALSE if not found
var_dump($return);
?>