$data = ""
$line = $data[36];
Just replace 36 with whatever line number you want.
On Tue, 2003-02-04 at 13:50, The New Source wrote:
How can I get a certain line from a file?
If I get a file in this way:
$f = fopen("http://www.url.com/index.htm","r");
How can I get a certain line of the file index.htm?
I would need to get the line number 232, or lines from 232 to 238. How can I get this content?
Thanx.
Rodrigo
-- Adam Voigt ([EMAIL PROTECTED]) The Cryptocomm Group My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc |
signature.asc
Description: This is a digitally signed message part