PHP 4.0 Bug #6554 Updated: file_exists not working with UNC names
| From: | dbeu@php.net | Date: | Fri, 23 Mar 2001 08:43:18 +0000 |
| Subject: | PHP 4.0 Bug #6554 Updated: file_exists not working with UNC names | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-49800@lists.php.net to get a copy of this message | ||
ID: 6554
Updated by: dbeu
Reported By: scottk@ganymede.com
Old-Status: Analyzed
Status: Closed
Bug Type: Scripting Engine problem
Assigned To:
Comments:
fixed in cvs, but you'll have to wait for 4.0.6
Previous Comments:
---------------------------------------------------------------------------
[2000-09-05 11:09:29] stas@php.net
Actually, I guess nothing is working with UNC pathes in PHP. Windows file naming schemes suck very
badly.
---------------------------------------------------------------------------
[2000-09-05 10:44:42] scottk@ganymede.com
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
machinesharefile
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.
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=6554&edit=2