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
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
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
3 matches
Mail list logo