It seems impossible for me to use file system and directory functions that
attempt to access network drives on another server.
For example, take the dir() example from the manual:
<?php
function getDirList($dirName)
{
$d = dir($dirName);
while($entry = $d->read())
{
if ($entry != "." && $entry != "..")
{
if (is_dir($dirName."/".$entry))
{
getDirList($dirName."/".$entry);
}
else
print("$entry<br>\n");
}
}
}
getDirList("//server/share/dir");
getDirList("S:\\dir");
?>
If S: is mapped to \\server\share then the above will fail with:
Warning OpenDir: Invalid argument (errno 22) in ....
I've tried using '/', '\' (properly escaped) and UNC names.
I've given full control permissions both via the filesystem and the share to
the user.
I'm sure I'm missing something.
-- Mike Fallavollita
[EMAIL PROTECTED]
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php