note 85443 deleted from function.unlink by sobak
| From: | sobak@php.net | Date: | Wed, 07 Dec 2016 11:32:09 +0000 |
| Subject: | note 85443 deleted from function.unlink by sobak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-208251@lists.php.net to get a copy of this message | ||
Note Submitter: southsentry at yahoo dot com
----
This is in response to alvaro at demogracia dot com
Yes, I found that out and have had to wrap it with is_file:
<?php
if(is_file("$file")) {
unlink("$file");
}
?>