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