Well, if you simply want to stick your file in your webpage with no special formatting or anything, you could do this:
<?php
$fp = "path/to/myfile.txt"; // The path to our file
$file_array = file($fp); //This reads the contents of our file into an array
?>
<pre>
<?php
for($i = 0; $i < count($file_array); $i++) // Iterate through the contents of $file_array and display each line
{
echo $file_array[$i];
}
?>
</pre>