ID: 20813
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Directory function related
Operating System: NT4SP6 IIS
PHP Version: 4.2.3
New Comment:
Just installed fresh 4.2.3 ISAPI on Win2000 and still produces same
error. Does this have something to do with the target UNC?
Previous Comments:
------------------------------------------------------------------------
[2002-12-04 10:44:27] [EMAIL PROTECTED]
Bug #9354 also produces same result
Bug #6445 is the same problem
Bug #12699 is the same problem
Bug #12524 is the same problem
Is this only NT4???
------------------------------------------------------------------------
[2002-12-04 10:34:08] [EMAIL PROTECTED]
if ($handle = opendir("//server/share")) {
while ($file = readdir($handle)) {
echo "$file<br>";
}
closedir($handle);
}
produces:
Warning: OpenDir: Invalid argument (errno 22)
I have tried setting the UNC share permissions to both Everyone - Read
and Everyone - Full Control and it does not matter.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20813&edit=1