Thanks to the suggestion of using the glob() function, I am now able the find all of the directories and display them for the user. When the user selects a directory, I need to display the html page within the directory. Not sure if this test code is the most efficient way to get the file name:
<?php
//$rvars = $_REQUEST;
//$dir = $rvars["dir"];
$dir = "20090211";
if ($dir) {
$fullfilename = glob("./" . $dir . "/*.html");
$filename = basename($fullfilename[0]);
echo $filename . "<br>"; // Testing
}
?>
Now that I have the file name for the html file, how do I display the html page?
Probably something super simple....
Todd