$i=0;
$pfad="./";
$verz=opendir ($pfad);
while ($file=readdir($verz))
{
if (filetype($pfad.$file)!="dir" && substr($file, -4, 4)==".txt")
{
$i++;
echo "".substr($file, 0, -4)."
";
}
}
closedir($verz);
echo "
";
//$lines = file ('Szegediner Gulasch.txt');
//foreach ($lines as $line_num => $line)
//{
// echo $line . "
\n";
//}
?>