PHP upload/read files on separate drive
I need to be able to upload/view files on a separate drive. Right now, my site is in the htdocs folder on the C: drive. We have been allocated space on the D: drive to upload and view files. Using the code below, I can use scandir to view what is located in htdocs folder: <?php $dir = '../../htdocs/'; $files1 = scandir($dir); $files2 = scandir($dir, 1); print_r($files1); print_r($files2); ?> But I need to traverse back a few more to be able to get to the D: drive. I am not sure if this is even possible. Using the above code, when I attempt to traverse to the D: drive, the path would look