Extra Credit: PHP ================= 1) Use the include function somewhere. 2) Using the code snippet shown below about listing files, create a php script which lists .html files in the current directory and provides links to these files. Remember that php scripts must output html syntax. Also, check out the quick reference on http://www.php.net if you don't understand the various functions or class names. Including files --------------- include("test.html"); Listing files in directory based on file extension -------------------------------------------------- List Example

List Example

handle."
\n"; echo "Path: ".$d->path."
\n"; while ($entry=$d->read()) { echo $entry."
\n"; # check to see if entry ends in .html if (ereg("*html",$entry)) { echo "$entry ends in .html
"; } } $d->close(); ?>