RE: [PHP] Newbie challenge to brainiacs
| From: | David Freeman | Date: | Tue, 14 May 2002 12:54:04 +0000 |
| Subject: | RE: [PHP] Newbie challenge to brainiacs | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-97526@lists.php.net to get a copy of this message | ||
> Here is a sample of my weblog that reads into an array from a file ie
> 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.
I haven't given it a whole lot of thought but I'd be tempted to dump the
whole thing into an appropriately structured sql database and then use
SELECT's to extract the information you want. It'll likely end up
faster and less processor intensive than doing it in php by itself I
suspect.
CYA, Dave