note 42705 added to function.is-file

From: Date: Wed, 26 May 2004 18:58:57 +0000
Subject: note 42705 added to function.is-file
Groups: php.notes 
Request: Send a blank email to php-notes+get-70137@lists.php.net to get a copy of this message
If is_file returns false keep in mind that this function needs to have the full path to the file. If you want to check the file test.php inside /var/www/html/ you need to use the full path is_file("/var/www/html/test.php") not is_file($file) or is_file("test.php") ---- Manual Page -- http://www.php.net/manual/en/function.is-file.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+42705 Delete -- http://master.php.net/manage/user-notes.php?action=delete+42705&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+42705&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#70137) next »