Codice PHP:
$path='tua cartella';
$files=glob("$path/*.*");

foreach(
$files as $file) echo "<a href \"$file\">".basename($file)."</a>
"