RE: [PHP] Best way to read file

2002-08-11 Thread Maxim Maletsky
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 &

RE: [PHP] Best way to read file

2002-08-11 Thread Pushkar Pradhan
--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

RE: [PHP] Best way to read file

2002-08-11 Thread Maxim Maletsky
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 > &

[PHP] Best way to read file

2002-08-11 Thread César Aracena
Hi all. I am using readfile() to read and print the entire content of a .txt file into a site, but need to use 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 shoul