ID:               19969
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Feedback
 Bug Type:         Filesystem function related
 Operating System: Slackware Linux
 PHP Version:      4.2.3
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip


Previous Comments:
------------------------------------------------------------------------

[2002-10-18 00:09:10] [EMAIL PROTECTED]

I upgraded my installation to Apache 2.0.43 (old was 2.0.36) and PHP
2.4.3 (old was 2.4.1), and noticed that my application doesn't work
anymore. PHP is compiled as module.

Finally, I found that file_exists() function doesn't work properly. My
test script:

<?php
        $e1 = file_exists("index.php");
        $e2 = is_file("index.php"); 
        echo "e1 = $e1; e2 = $e2";
?>

It's output:

e1 = ; e2 = 1

file_exists(".") always returns 1.

Nothing was changed in configuration after upgrade. I looked into
source, and found that code responsible for this functionality was
significantly changed, so... Perhaps this is a bug. Serious one.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=19969&edit=1

Reply via email to