#11215 [Com]: ISAPI version: unable to read directory from share
| From: | gangbang-classic781 at hotmail dot com | Date: | Tue, 20 Jul 2004 15:05:10 +0000 |
| Subject: | #11215 [Com]: ISAPI version: unable to read directory from share | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-62936@lists.php.net to get a copy of this message | ||
ID: 11215
Comment by: gangbang-classic781 at hotmail dot com
Reported By: zizka at bigfoot dot com
Status: Closed
Bug Type: Directory function related
Operating System: Windows2000
PHP Version: 4.0.5
New Comment:
<a href=http://4uclassic-objects-g.da.ru>gangbang
classic</a>
Previous Comments:
------------------------------------------------------------------------
[2001-05-31 12:54:29] sniper@php.net
The UNC paths will be supported in PHP 4.0.6.
(this is fixed already in CVS)
--Jani
------------------------------------------------------------------------
[2001-05-31 10:34:21] 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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=11215&edit=1