Posted by ZabMilenko on 10/13/06 17:07
$file_array = file($file_name); foreach ($file_array as $line_number => $line) { // Handle the line } See: http://us3.php.net/manual/en/function.file.php howa wrote: > hi, > > how to read a large php file line by line? > > fread can't? > > thanks. >
[Back to original message]
Copyright © 2005-2006 Powered by Custom PHP Programming