From:             [EMAIL PROTECTED]
Operating system: Solaris 8
PHP version:      4.2.3
PHP Bug Type:     Filesystem function related
Bug description:  file_exists() always returns false.

The following code, in a file called "test.php" will only 
ever print "is_file OK".

This is rather a large flaw?

<?php

if (file_exists('test.php')) 
        echo "file_exists OK"; 
        
if (is_file('test.php')) 
        echo "is_file OK";      

?>
-- 
Edit bug report at http://bugs.php.net/?id=19557&edit=1
-- 
Try a CVS snapshot:  http://bugs.php.net/fix.php?id=19557&r=trysnapshot
Fixed in CVS:        http://bugs.php.net/fix.php?id=19557&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=19557&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=19557&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=19557&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19557&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=19557&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=19557&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=19557&r=submittedtwice
register_globals:    http://bugs.php.net/fix.php?id=19557&r=globals

Reply via email to