note 38121 deleted from function.file-exists by tomsommer
| From: | tomsommer@php.net | Date: | Thu, 15 Jan 2004 21:46:28 +0000 |
| Subject: | note 38121 deleted from function.file-exists by tomsommer | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-63659@lists.php.net to get a copy of this message | ||
Note Submitter: simon@prestondocks.net
----
Jon's note above about opening and closing the file in one statement to check if it exists
should work fine, however I think it would also modify the last access time.
This is something you may not wish to do if you only want to check it's existance before
creating a new file of the same name.