Parsing a large file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have large log files from a web server (about a gig in size) and need
to parse each line looking for a string, and when encountered push that
line to a new file.  I was thinking I could have PHP read in the whole
file, but thinking it could be a major pain since I have about 20 log
files to read through.

Anyone have some suggestions?

Thanks,
Robert

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux