codice:
$path= './';
$dh = opendir($path);
while (($file = readdir($dh)) !== false) {
if($file != "." && $file != "..")
if(is_dir($path.$file)) echo $file."
";
}
closedir($dh);