DES 682 / Spring 2013 / Pratt Institute

Student Upload Pages:

\n"); print("\n"); // loop 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 if ($dirArray[$index] != "index.php") if ($dirArray[$index] != "ftp.php") { print(""); print("
\n"); ?>