Re: line by line
| From: | Richard Lynch | Date: | Thu, 30 Aug 2001 09:56:52 +0000 |
| Subject: | Re: line by line | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-65238@lists.php.net to get a copy of this message | ||
http://php.net/fopen
http://php.net/fgets
Call fopen.
Call fgets 3 times.
Call fread($file, 1000000) to get the rest.
--
WARNING richard@zend.com address is an endangered species -- Use
ceo@l-i-e.com
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 <gbland@worldnet.att.net>
Newsgroups: php.general
To: <php-general@lists.php.net>
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
>