//define the path as relative $path = "../Woods_Hole"; // open the current directory by opendir $handle=opendir("../Woods_Hole"); echo "Contents of: $path"; while (($file = readdir($handle))!==false) { echo "$file "; } closedir($handle); ?>