Bug #11793 Updated: file_exists() and friends
| From: | bf at ez dot no | Date: | Fri, 29 Jun 2001 08:51:23 +0000 |
| Subject: | Bug #11793 Updated: file_exists() and friends | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-58418@lists.php.net to get a copy of this message | ||
ID: 11793
User Update by: bf@ez.no
Old-Status: Open
Status: Closed
Bug Type: Scripting Engine problem
Operating system: Redhat Linux
PHP Version: 4.0.6
Description: file_exists() and friends
Previous Comments:
---------------------------------------------------------------------------
[2001-06-29 03:09:36] bf@ez.no
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();
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=11793