PHP 4.0 Bug #6554: file_exists not working with UNC names

From: Date: Tue, 05 Sep 2000 14:44:42 +0000
Subject: PHP 4.0 Bug #6554: file_exists not working with UNC names
Groups: php.dev 
Request: Send a blank email to php-dev+get-32185@lists.php.net to get a copy of this message
From: scottk@ganymede.com Operating system: Win NT Server 4.0 SP5 PHP version: 4.0.1pl2 PHP Bug Type: Scripting Engine problem Bug description: file_exists not working with UNC names Web Server : Apache 1.3.9 (win32) Reproduce : On a Windows NT box with PHP and Apache, create a page the calls the file_exists func 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\\fred.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.

« previous php.dev (#32185) next »