Whatever saves you lines of code, difference is not any big.
Sincerely, Maxim Maletsky PHP Beginner www.phpbeginner.com > -----Original Message----- > From: Pushkar Pradhan [mailto:[EMAIL PROTECTED]] > Sent: Monday, August 12, 2002 12:06 AM > To: Maxim Maletsky > Cc: 'C�sar Aracena'; 'PHP General List' > Subject: RE: [PHP] Best way to read file > > How about file() since it returns each line in the file as an array? > It seems like he wants to do some processing on each line of the file. > > > readfile() is good enough > > > > > > Sincerely, > > > > Maxim Maletsky > > > > PHP Beginner > > www.phpbeginner.com > > > > > > > -----Original Message----- > > > From: C�sar Aracena [mailto:[EMAIL PROTECTED]] > > > Sent: Sunday, August 11, 2002 6:36 PM > > > To: PHP General List > > > Subject: [PHP] Best way to read file > > > > > > Hi all. > > > > > > I am using readfile() to read and print the entire content of a .txt > > > file into a site, but need to use </p> tags to break down the lines. > > I > > > intend to be able, as an Administrator, to edit these text files > > later. > > > What is the best way to accomplish this? Should I keep using > > readfile() > > > or should I use any ther better way of doing this? > > > > > > Thanks in advance, > > > > > > Cesar Aracena > > > CE / MCSE+I > > > Neuquen, Argentina > > > +54.299.6356688 > > > +54.299.4466621 > > > > > > > > > > > > > > > -- > > > PHP General Mailing List (http://www.php.net/) > > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > -Pushkar S. Pradhan > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

