note 42705 deleted from function.is-file by tomsommer
| From: | tomsommer@php.net | Date: | Wed, 26 May 2004 20:00:37 +0000 |
| Subject: | note 42705 deleted from function.is-file by tomsommer | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-70146@lists.php.net to get a copy of this message | ||
Note Submitter: ramiro@quasarcr.com
----
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")