Basically what it says on the tin:
if(is_dir($dir))
echo $dir . " is a directory\n";
if(is_readable($dir))
echo $dir . " is readable\n";
if($this->handle = opendir($dir))
echo $dir . " opened\n";
Returns:
\\HTPC\MOVIES is a directory
\\HTPC\MOVIES opened
Which is wierd? I can iterate through the files in the directory but apparently it is not readable. It doesn't really matter as like I said I can still read the files, however I just find it a little odd.
Does anyone have any thoughts?