note 52904 deleted from function.unlink by nlopess
| From: | nlopess@php.net | Date: | Thu, 07 Dec 2006 18:05:28 +0000 |
| Subject: | note 52904 deleted from function.unlink by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-120383@lists.php.net to get a copy of this message | ||
Note Submitter: kickthedonkey at gmail dot com
----
Regarding the comment by 'admin at crazydrumguy dot info': You might want to consider
using is_file instead of file_exists if you're wanting to target a file specifically (and not a
directory). file_exists($name) will return true if $name contains a path to a directory (which may
or may not be what you want to do...)