Links: [
i eat bees
]
$dirPath = '.'; if ($handle = opendir($dirPath)) { while (false !== ($file = readdir($handle))) { if ($file != "." && $file != "..") { if (is_dir("$dirPath/$file")) { echo "
[
$file
]
"; } else { echo "☆
$file
"; } } } closedir($handle); } ?>