Directory Contents"); print("\n"); // loops through the array of files and print them all for($index=0; $index < $indexCount; $index++) { if (substr("$dirArray[$index]", 0, 1) != "."){ // don t list hidden files print(""); print(""); print(""); print("\n"); } } print("
Filename Type Size (bytes)
$dirArray[$index]"); print(findexts($dirArray[$index])); print(""); print(filesize($dirArray[$index])); print("
\n"); ?>