note 38121 added to function.file-exists

From: Date: Tue, 09 Dec 2003 09:20:32 +0000
Subject: note 38121 added to function.file-exists
Groups: php.notes 
Request: Send a blank email to php-notes+get-61675@lists.php.net to get a copy of this message
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. ---- Manual Page -- http://www.php.net/manual/en/function.file-exists.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+38121 Delete -- http://master.php.net/manage/user-notes.php?action=delete+38121&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+38121&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#61675) next »