"; } if(is_file($file)) { $type = "<--->"; } if(is_link($file)) { $type = ""; } return(htmlentities($type)); } $files = array(); $handle = opendir("."); while(false !== ($file = readdir($handle))) { if($file != "." && $file != "index.php") { array_push($files, $file); } } sort($files); ?>

Index:

Name Last Modified Size Description