John Coppens wrote:
On Thu, 27 Jan 2005 15:15:48 +0100 (CET)
[EMAIL PROTECTED] wrote:


Hi there!

Is there any way reading a file from a specific line? (textfile)

/G
@varupiraten.se


Not directly - there's no way to know where the line starts, except
if they are all of the same length. Read the file, split it on \n's,
and then use it as an array.

The file() function will do this.

http://us4.php.net/file

--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to