I use this nifty script I put together to navigate within directories:
<?php
$file_list = array();
$dir_obj = dir('../'.$dir.'/'); // files, content, images
while ($item_name = $dir_obj->read())
$file_list[] = $item_name;
$dir_obj->close();
natcasesort($file_list);
foreach ($file_list as $filename){
echo "<a href=\"$filename\" class=\"goto\">".htmlentities($filename)."</a>\n";}
?>
You can leave out the href parts of course...
-steph