Well, I've made a script that will list out files and make links to the file by certain extention. But, it doesn't support multiple extentions. You could put this in three times but modifying it would be better. If I get time tomorrow (well today) I'll see if I have time to modify it, just because I'll need it soon anyway.
<?php
$folder = "./images/";
$extension = "htm";
$extsize = strlen($extension)+1;
if ($handle = opendir($folder)) {
while (false !== ($file = readdir($handle))) {
if (ereg(".$extension$",$file)) {
$filename = (substr($file,0,strlen($file)-$extsize));
$filename = ereg_replace("_", " ", $filename);
echo "<a href=\"$folder/$file\" target=\"_blank\">$filename</a><br />\n";
}
}
closedir($handle);
}
?>