Jump to content

Access Mapped drive


munnikd

Recommended Posts

Hi,

 

i'm not able to access a mapped drive on my server with the following code :


$location = "K:"
if ($handle = opendir($location)) {
    while (false !== ($entry = readdir($handle))) {
        echo "$entry";
}
    closedir($handle);
}

 

 

I know it is a permission problem, but how do I give the Iusr and IIS rights to access this mapped drive ?

Link to comment
https://forums.phpfreaks.com/topic/277690-access-mapped-drive/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.