|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9354 Doesn't support UNC paths
Submitted: 2001-02-20 11:32 UTC Modified: 2001-04-27 19:46 UTC
From: km at altavista dot net Assigned:
Status: Closed Package: Directory function related
PHP Version: 4.0.3pl1 OS: Win32
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
37 - 23 = ?
Subscribe to this entry?

 [2001-02-20 11:32 UTC] km at altavista dot net
On Win32, this does not work;

$d = dir("//machine_name/share_name");
echo "Handle: ".$d->handle."<br>\n";
echo "Path: ".$d->path."<br>\n";
while($entry=$d->read()) {
	echo $entry."<br>\n";

On Win32, UNC paths are the expected format for networked filesystems, especially for any software running as a service (i.e. webservers)


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-21 04:21 UTC]
Duplicate of #6554

 [2001-04-27 19:46 UTC]
This is fixed in CVS. Wait for PHP 4.0.6 to be released.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Mon Dec 06 06:03:37 2021 UTC