note 47099 deleted from function.file-exists by betz

From: Date: Tue, 02 Nov 2004 22:07:39 +0000
Subject: note 47099 deleted from function.file-exists by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-79521@lists.php.net to get a copy of this message
Note Submitter: tom at whitesummer dot com ---- don't get caught out by something silly like this <? $dirname = "/mydir/"; $filename = ""; if ( file_exists( $dirname.$filename ) ) { /* returns true even though $filename clearly doesn't exist */ } ?> ---- Reason: useless note

« previous php.notes (#79521) next »