note 26929 added to function.file-exists

From: Date: Mon, 18 Nov 2002 09:21:36 +0000
Subject: note 26929 added to function.file-exists
Groups: php.notes 
Request: Send a blank email to php-notes+get-39624@lists.php.net to get a copy of this message
Another solution for the problem with relative paths with file_exists and Apache 2.0.43 + PHP 4.2.3 is : file_exists($rel_path) //Original code file_exists(realpath($rel_path)) //Modified one It seems that realpath(..) works fine. Moni -- http://www.php.net/manual/en/function.file-exists.php http://master.php.net/manage/user-notes.php?action=edit+26929 http://master.php.net/manage/user-notes.php?action=delete+26929 http://master.php.net/manage/user-notes.php?action=reject+26929

« previous php.notes (#39624) next »