thanks for your tips....
here is what i came up with
<?php
$file = fopen("testlogfile.txt", "r");
$content = fread($file, filesize("testlogfile.txt"));
fclose($file);
//print_r ("$content");
echo ("$content");
?>
The problem is the browser doesnt display the textfile with carriage returns. Lets say the text file looks like this
line1
line2
line3
the browser returns this instead
line1line2line3
What am I doing wrong?
Also, how can I modify the code to only display the last 50 lines of the textfile?
Thanks again.