View file wap.rzz.ru/pic/128-128/rjazan'/index.php
<? include $DOCUMENT_ROOT.'/inc/header.php'; $current_dir = "."; $dir = opendir($current_dir); while ($file = readdir($dir)) { if(($file != ".") && ($file != "..") && ($file != "jar") && ($file != "index.php") && ($file != "header.php") && ($file != "footer.php")) { echo "<a href=\"".$file."\">".$file." (".bcdiv(filesize($file), 1024)." кб)</a><br/>"; } } echo "<br/>"; closedir($dir); include $DOCUMENT_ROOT.'/inc/footer.php'; ?>