<!-- skel.php: Skeleton PHP script -->
<html>
<head> <title> FILE-1 </title> </head>
<body>

<?php

$filename 
"lala.txt";

$handle fopen($filename"r");
$contents fread($handlefilesize($filename));
fclose($handle);

print 
"<h1>Contents of file $filename: </h1><hr";
print 
"<pre>"$contents ."</pre>";

?>






<!-- PRINT TIMESTAMP -->
<hr> <p>
This page was generated on 

<font color="red">
<?php print date("D M j G:i:s T Y"); 
      
//see http://www.php.net/manual/en/function.date.php for date() params
?>
</font>

for the CS1655 class.
</p>
</body>
</html>