This is a discussion on Statistics, what can i include within the PHP Language forums, part of the PHP Programming Forums category; Hi, My site has some statistics. 1- number of users online 2- number of guest/registered users online 3- visitors ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
My site has some statistics. 1- number of users online 2- number of guest/registered users online 3- visitors since... 4- most number of visitors... .... What other statistics would be useful? I would like to get something like number of IE6 /5 Netscape etc... but how do i retrieve the number of browsers? Many thanks Sims |
|
|||
|
["Followup-To:" header set to comp.lang.php.]
Sims wrote: > My site has some statistics. (snip) > I would like to get something like number of IE6 /5 Netscape etc... but how > do i retrieve the number of browsers? parse $_SERVER['HTTP_USER_AGENT'] and keep a count somewhere (flat file or database) -- --= my mail box only accepts =-- --= Content-Type: text/plain =-- --= Size below 10001 bytes =-- |
|
|||
|
might i suggest taking a peek at the statisticws page of something like php
nuke or postnuke? that's how i learned my commands. Since then i have been keeping my own little log of all the commands that i have learned iin a text file with a description right after them - it helps me keep learning instead of learning new things and forgetting the old. -- -db2k If you have any quesitons feel free to contact me directly: db2k@fusemail.com "Pedro Graca" <hexkid@hotpop.com> wrote in message news:c109to$1dah7b$2@ID-203069.news.uni-berlin.de... > ["Followup-To:" header set to comp.lang.php.] > Sims wrote: > > My site has some statistics. > (snip) > > I would like to get something like number of IE6 /5 Netscape etc... but how > > do i retrieve the number of browsers? > > parse $_SERVER['HTTP_USER_AGENT'] > > and keep a count somewhere (flat file or database) > -- > --= my mail box only accepts =-- > --= Content-Type: text/plain =-- > --= Size below 10001 bytes =-- |