![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.php archiveRead first 10 lines from a file
From: Robertico <Robertico@nomail.notvalid>
Date: Fri Aug 19 2005 - 12:50:34 CEST
I have an ASCII file with each data record on a separateline. Each field is
This is what i already have reading the first line:
$fname = "http://www.somedomain.com/file.txt";
$fd = fopen($fname, "r");
echo ("$field0 - $field1");
How can i do this voor the first 10 lines ?
Regards,
Robertico
|