rendered paste body<?xml version=\"1.0\" encoding=\"iso-8859-1\"?> <!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\"> <html xmlns=\"http://www.w3.org/1999/xhtml\"> <head> <title>Scarification.ca | Under Construction</title> <meta name=\"AUTHOR\" content=\"Ryan Corrigal\"/> <meta name=\"CREATOR\" content=\"By Hand: Ryan Corrigal\"/> <meta name=\"DATE\" content=\"October 24th, 2006\"/> <meta name=\"IDENTIFIER\" content=\"http://www.scarification.ca\"/> <meta name=\"LANGUAGE\" content=\"en\"/> <link rel =\"stylesheet\" type=\"text/css\" href=\"http://scarification.ca/css/construction.css\" /> </head> <body> <center><? echo "Hello World";echo "A second statement";?> <big><big>IST271 Group Project</big></big> <big><br>-=welcome to the file repository=-</br></big><?php /* File : showdir.php Author : Ryan Corrigal Date : October 29, 2006 Purpose : To show the contents of a directory using php */if(isset($_GET[dir]) || !empty($_GET[dir])){$directory = $_GET[dir];}else{ $directory = '/IST271/';} $dircontents = scandir($_SERVER[DOCUMENT_ROOT].$directory); $number_of_files = count(scandir($_SERVER[DOCUMENT_ROOT].$directory));echo "<br><br>-there are currently ".($number_of_files - 2)." viewable files in the directory-</br></br> <br>"; echo $htmlintro; for ($i = 2; $i < $number_of_files; $i++) { echo" <br><a href=\"".$directory.$dircontents[$i]."\">".$directory.$dircontents[$i]."</a></br>"; }?> </center> </body> </html>