http://php.net/fopen
http://php.net/fgets

Call fopen.
Call fgets 3 times.
Call fread($file, 1000000) to get the rest.

--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Gary <[EMAIL PROTECTED]>
Newsgroups: php.general
To: <[EMAIL PROTECTED]>
Sent: Monday, August 27, 2001 4:10 PM
Subject: line by line


> Hi All,
>   I need to get info from a flat file line by line. What I need to do is
> get 3 separate lines and then a paragraph. Can someone point me to a
> tutorial or info on the subject.
>
> TIA
> Gary
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to