$non = array ("html", "htm", "php", "php3");
$welchesdir=".";
$dir=opendir($welchesdir);
while ($file = readdir($dir)) {
if ($file != "." && $file != ".." && $file != ".benutzer" && $file != ".htaccess"){
// get suffix and bla
$suffix = substr($file,strrpos($file,".")+1);
if (!(in_array(strtolower($suffix),$non))) {
print "
".$file."
";
}
}
}
closedir($dir);
?>