John W. Holmes wrote:

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...


Yeah, Jason suggested that (nl2br), and was told by the OP that he was wrong, so the realization may take more time than expected. ;)


--
By-Tor.com
It's all about the Rush
http://www.by-tor.com

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



Reply via email to