Home Work PHP
PHP
Reading In Files With PHP PDF Print E-mail
Work - PHP
Written by mbrock   
Monday, 02 June 2008 20:57

PHPHere is a simple function that opens a file, reads it in a line at a time, and prints the output to the screen. The nl2br statement in the function will convert the newline characters ("\n" or "\r\n" depending on your OS) to HTML breaks, "<br>".

Read more...
 


mbrock.com
This site, it's contents, and "The Original Web Empire"
Copyright © 1999 - 2010 mbrock.com. All Rights Reserved.