Bug #13292: file_exists not working with UNC names

From: Date: Thu, 13 Sep 2001 19:55:36 +0000
Subject: Bug #13292: file_exists not working with UNC names
Groups: php.dev 
Request: Send a blank email to php-dev+get-65901@lists.php.net to get a copy of this message
From:             Helmut.Himmelstoss@t-online.de
Operating system: Windows NT/2000
PHP version:      4.0.6
PHP Bug Type:     Scripting Engine problem
Bug description:  file_exists not working with UNC names

On a Windows 2000 box with PHP and IIS5.0, create a page the calls the
file_exists function on a
known machine\share\file

You will need to create a share on that machine or another.

For example :

if (file_exists("\\\\machine\\share\\test.txt") {
  echo "Exists<BR>";
} else {
  echo "Does not Exist<BR>";
}

The file_exists function will always return false.

The function works fine with drive letter associations, but not for UNC
notation on win32.

You have closed this bug with id #6554.

But this bug is not fixed in 4.0.6
-- 
Edit bug report at: http://bugs.php.net/?id=13292&edit=1



Thread (8 messages)

« previous php.dev (#65901) next »