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
Copyright © 2012 mbrock.com. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.