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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Wed Jan 22 08:01:34 2025 UTC