There are loads of different ways to spit out a text file.

The easiest is readfile($Filename) which does exactly what you want,
providing that the file already contains sanitised html (eg <br> instead of
newlines etc.

If not, you could use fread to get the file contents into a variable and
then process them as you wish (eg with nl2br etc).

No doubt, you will be told another hundred ways to do it as well :)

Cheers

PS Interesting postal address - I frequent the Beeswing pub on Hull Rd every
Thursday evening with members of the old car club I'm in!

--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to