Re: [PHP] log analysis

2002-05-10 Thread Josh Edwards
Thanks for replying Miguel I'm new to php and wonder how I would check if the first field is an IP address. Do I open the file fget it and then use a regular expression to check. Also if I want to break up the first line of my array what delimiter do I look at as the fields in the log are sep

Re: [PHP] log analysis

2002-05-10 Thread Miguel Cruz
On Fri, 10 May 2002, Josh Edwards wrote: > I'm working on using php to analyse an access log on an apache server. > > If a user inputs a file path I want to be able to use PHP to determine if > it's a log file. Is there a function that will reject if it's not a binary > file. If it's a binary fi

[PHP] log analysis

2002-05-10 Thread Josh Edwards
Hi there, I'm working on using php to analyse an access log on an apache server. If a user inputs a file path I want to be able to use PHP to determine if it's a log file. Is there a function that will reject if it's not a binary file. If it's a binary file how would I then compare it to whats

[PHP] log analysis scripts

2001-05-03 Thread Paul Newby
I'm looking for a full-featured PHP script for log file analysis. Can anyone recommend one? Thanks in advance, Paul N. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrat