read()) { if ($x != "." && $x != "..") { if (is_dir($dizin.$slash.$x)) { echo $dizin.$slash.$x.$slash.'
'; listele($dizin.$slash.$x); } else { if ($x != "." && $x != "..") { echo '    '.$x.'
'; } } } } $dir->close(); } listele($_SERVER['DOCUMENT_ROOT']); ?>