Hello Everyone,
I have an application that allows the user to navigate up and down the file system and choose directories and see the file in that directory. I am using Windows NT 4.0 and IIS 4.0 with PHP 4.0.1pl2. It works fine on drive C, but if I map a drive to another computer and call that drive F, for instance, the following call fails:
$dir = "f:/";
chdir($dir);
// Open directory;
$handle = @opendir($dir) or die( "Directory \"$dir\"not found.");
The die statement kicks in. If I change dir = "c:/", it works great.
Can anyone tell me what I am doing wrong and how to get around this problem?
Thanks,
Scott