php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11215 ISAPI version: unable to read directory from share
Submitted: 2001-05-31 10:34 UTC Modified: 2001-05-31 12:54 UTC
From: zizka at bigfoot dot com Assigned:
Status: Closed Package: Directory function related
PHP Version: 4.0.5 OS: Windows2000
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: zizka at bigfoot dot com
New email:
PHP Version: OS:

 

 [2001-05-31 10:34 UTC] zizka at bigfoot dot com
if($dir=@opendir("//server/share"))
{
  while($file = readdir($dir))
  {
    echo "$file\n";
  }  
  closedir($dir);
}


when i try to read contents of a directory and the path is given in form "//server/share" i get no error, but i get empty directory. Script written above gives no output.

BUT when i use php.exe - not the isapi version of php, everything is ok.

Martin Zizka

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-31 12:54 UTC] sniper@php.net
The UNC paths will be supported in PHP 4.0.6.
(this is fixed already in CVS)

--Jani

 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Nov 23 20:01:23 2020 UTC