"); //print("
dir:$dir"); if (is_dir($dir)) { print("
$stitle
"); print("
\n"); if ($dh = opendir($dir)) { while (($file = readdir($dh)) !== false) { //echo "filename: $file : filetype: " . filetype($dir . $file) . "\n"; //echo "
filename:$file"; if (strlen($file)> 3) print("\n"); } print("
$file
"); closedir($dh); } } ?>