
DIR  | 
	"; // reading the content and... $mydir = dir("./"); while ($file=$mydir->read()){ $kind = filetype($file); if ($kind != "php"){ // ATTENTION! if you want this file to show subdirectories, remove this query if ($file != '.' && $file != '..' && $file != 'index.php' && $file != '.htaccess'){ //... showing the content: // | |||
| and filename... echo " | "; //...filesize... if(is_dir($file)){ echo " | DIR  | ";
			}else{
				echo "".size($file)."  | "; 
			}
			//... last change... 
			$change = filemtime($file); 
			echo "".date("H:i:s - j M, Y",$change)."  | "; 
		} 
	}
} 
$mydir->close(); 
?>