From: "John Nichel" <[EMAIL PROTECTED]>

> If all the OP wants to do is echo out the file, then why not just use
> the file() function.  Then each line is loaded up into an array element,
>   and you've saved yourself a bit of cpu.  And your example above
> doesn't address the OP's claim that it is not handling new lines.

file_get_contents() would be the fastest. And once the OP learns the
difference between TEXT and HTML, he'll realize he just needs to use the
nl2br() function. :)

---John Holmes...

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to