From:             [EMAIL PROTECTED]
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:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to