$dir = opendir("html/prolog"); while($file = readdir($dir)) { echo "
$file
"; } closedir($dir); ?>