I'm a PHP  beginner and  I  am amazed at the  help people give you in this
newsgroup. I'm trying to  attempt something  ambitious (for me anyway) and
I'm looking for help.


Here is a sample of my weblog that reads into an array from a file ie

$filename = ("combined_log");
$fcontents = file($filename);

203.29.154.13 - - [08/May/2002:21:21:07 +1000] "GET /A1.php HTTP/1.1" 200
417 "-
" "Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)"
203.29.154.13 - - [08/May/2002:21:21:10 +1000] "GET /A1.php HTTP/1.1" 200
417 "-
" "Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)"
203.29.154.13 - - [10/May/2002:20:10:11 +1000] "GET /A1.php HTTP/1.1" 200
417 "-
" "Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)"
203.29.154.13 - - [11/May/2002:19:15:12 +1000] "GET /A1.php HTTP/1.1" 200
417 "-
" "Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)"
203.29.154.13 - - [12/May/2002:15:21:13 +1000] "GET /A1.php HTTP/1.1" 200
417 "-
" "Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)"

I want to try to find the hour that has the most hits
The day of the week that has the most hits
and the max and ave  no of hits of these.




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

Reply via email to