Ho fatto qualche progresso:

codice:
<html>
<body>

<?php
$path = "prog";

echo"<table border=\"1\">";

if (is_dir($path)) {
   if ($fp = opendir($path)) {
     while (($file = readdir($fp)) !== false)
       {
        if( ($file != '.') && ($file != '..') )
        {
		    echo "<value=\"$path/$file\"> $file 
";
        }
       }
       closedir($fp);
   }
}
?>
 
</body>
</html>
Ma come faccio a linkare i file nella pagina??
Grazie mille!