munnikd Posted May 6, 2013 Share Posted May 6, 2013 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 ? Quote Link to comment https://forums.phpfreaks.com/topic/277690-access-mapped-drive/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.