Statistics, what can i include

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 ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2004
Sims
 
Posts: n/a
Default Statistics, what can i include

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


Reply With Quote
  #2 (permalink)  
Old 02-18-2004
Pedro Graca
 
Posts: n/a
Default Re: Statistics, what can i include

["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 =--
Reply With Quote
  #3 (permalink)  
Old 03-18-2004
db2k
 
Posts: n/a
Default Re: Statistics, what can i include

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 =--



Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 07:25 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0