View Single Post
Old Dec 21st, 2007, 11:13 AM   #6
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 1,869
Rep Power: 5 Sane will become famous soon enough
Send a message via MSN to Sane
Re: Count number of occourences of a IP address in a log file.

And in case you think 100kb is unreasonably large for a log file... a request every 13 seconds can fill that up in less than one day.

print ( 3600*24 ) / ( 100*1024/16.0 )
Sane is offline   Reply With Quote