Bug #11793: file_exists() and friends
| From: | bf at ez dot no | Date: | Fri, 29 Jun 2001 07:09:36 +0000 |
| Subject: | Bug #11793: file_exists() and friends | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-58427@lists.php.net to get a copy of this message | ||
From: bf@ez.no
Operating system: Redhat Linux
PHP version: 4.0.6
PHP Bug Type: Scripting Engine problem
Bug description: file_exists() and friends
I'm having problem with file_exists(), is_file(),
file_size() since the upgrade to 4.0.6. It does not work
if I supply a variable as a filename. E.g.
file_exists( $var ); will return false even if the
variable contains a correct path.
file_exists( "path/to/file.txt" ); works.
Same for the is_file() and file_size();
--
Edit Bug report at: http://bugs.php.net/?id=11793&edit=1