you would need to put this script in a file and have the page reload every so often to update the files
<?php
$dirHandle=opendir('/home/YOUR_FULL_PATH_TO_THE_DIRECTORY_/');
while ($file = readdir($dirHandle)) {
if ($file != "." and $file != "..") { //this checks to make sure that it reads only folders.
$filelength=strlen($file);
$datelength=$filelength - 8; //this is set to read the 8th character from the end
$filenamelength = $filelength - 10; //this sets the max characters to read for the filename
$month1 = $str{$datelength};
$month2 = $str{$datelength + 1};
$year1 = $str{$datelength + 2};
$year2 = $str{$datelength + 3};
if($month1 == '0' and $month2 == '1'){ $month = "January"; }
if($month1 == '0' and $month2 == '2'){ $month = "February"; }
if($month1 == '0' and $month2 == '3'){ $month = "March"; }
if($month1 == '0' and $month2 == '4'){ $month = "April"; }
if($month1 == '0' and $month2 == '5'){ $month = "May"; }
if($month1 == '0' and $month2 == '6'){ $month = "June"; }
if($month1 == '0' and $month2 == '7'){ $month = "July"; }
if($month1 == '0' and $month2 == '8'){ $month = "August"; }
if($month1 == '0' and $month2 == '9'){ $month = "September"; }
if($month1 == '1' and $month2 == '0'){ $month = "October"; }
if($month1 == '1' and $month2 == '1'){ $month = "November"; }
if($month1 == '1' and $month2 == '2'){ $month = "December"; }
echo "<a href='". $file ."'>". $file ." ". $month ." ". $year1 . $year2 ."</a><br>","\n";
}
}
closedir($dirHandle);
?>
if you want the file name to only show what the file is, you will have to figure that one out. i am not sure how to only read a certain length of a variable. I hope this helps.
I did not test the script, i just wrote it. If it does not work, i appologize.
Enjoy!
Tim
www.mp3profiles.com