opendir() : mapped drive issue

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
99miles
Forum Newbie
Posts: 8
Joined: Thu May 05, 2005 5:35 pm

opendir() : mapped drive issue

Post by 99miles »

Hello-
I'm trying to read the contents of a mapped drive, but it's not working:

$path = "Z:\\";

$dh = opendir($path) or die("failed");

It fails, and I have no idea why. The mapped drive says that "Everyone" has read permissions. The drive is definitely mapped and connected. What else could be clocking this???
Thanks!
Mac
Post Reply