Well, i am using a friends stats program that logs the stats for my ftp program, and i want to display it on my website, and it drops the stats into a text file, can somone help me with the code i need to display this text file using php so that I can have it on my website?
thanks, rob
Here is the rough idea of how to do it
fopen() the file
fread() the contents of the file, to a variable
nl2br() to html format the line breaks
echo variable to the screen
fclose() the file