From: [EMAIL PROTECTED]
Operating system: NT4SP6 IIS
PHP version: 4.2.3
PHP Bug Type: Directory function related
Bug description: opendir() returns errno22 with UNC path
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 bug report at http://bugs.php.net/?id=20813&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20813&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=20813&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=20813&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20813&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=20813&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=20813&r=support
Expected behavior: http://bugs.php.net/fix.php?id=20813&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=20813&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=20813&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=20813&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20813&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=20813&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=20813&r=isapi