zkus treba toto :
<? echo '<?xml version="1.0" encoding="windows-1250"?>';?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="cs" lang="cs">
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1250" />
<meta http-equiv="content-language" content="cs" />
<meta http-equiv="Pragma" content="no-cache" />
<meta name="autor" content="www.nloyd.wz.cz, Strom?" />
<meta name="copyright" content="© nLoyd 2003-2005" />
<meta name="robots" content="all, follow" />
<meta name="description" content="Web Counter-Strikovém klanu [InifiX-mE]" />
<meta name="keywords" content="CS, Counter-Strike, InfiX, InfiX-mE" />
<meta name="generator" content="Notepad" />
<title>InfiX-mE : DownLoads</title>
<style type="text/css">
<!--
body {background: black; color: white}
a:link, a:visited {color: white}
a:hover {color: red}
-->
</style>
</head>
<body>
<h2>DownLoad</h2>
<?php
$i = 0;
$handle=opendir('.');
while (false!==($file = readdir($handle)))
{
if($file == "." OR $file == "..") continue;
if(basename(__FILE__) == $file) continue;
$i++;
echo "<a href=\"$file\" title=\"\">$file</a><br />\n";
}
closedir($handle);
?>
</body>
// a soubor musim mit pochopitelne koncofku .php :-) a hlavicku si zmen :)