Yar; [EMAIL PROTECTED]
Cc: Php-General
Subject: Re: [PHP] Re: line by line
That I know, calling fgets() 3 times would put the file pointer at the start
of the 4th. line. However, fread() "won't let you decide the position from
which the acquisition begins.." according to my help
d() requires an fseak()
file pointer to offset the start of the file to where you want to begin
reading.
I hope this helps.
hugh
- Original Message -
From: Navid Yar <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 30, 2001 1:50 PM
Subject: RE: [PHP] Re: line by li
When using fgets() 3 times, does the pointer inside the file change
positions?
Navid Yar
-Original Message-
From: Richard Lynch [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 30, 2001 4:57 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: line by line
http://php.net/fopen
http://php.net
http://php.net/fopen
http://php.net/fgets
Call fopen.
Call fgets 3 times.
Call fread($file, 100) 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
4 matches
Mail list logo