a quick question about stats on page

Hello,
How can I display some stats on some page that are from awstats or
analog for example...
Lets say I want to show something like: x Unique Visitors Today, X
visitors This month and stuff like that... How can I do that? Im using
Awstats and Analog.
Kentor [ Do, 18 Januar 2007 20:46 ] [ ID #1600366 ]

Re: a quick question about stats on page

Kentor schreef:
> Hello,
> How can I display some stats on some page that are from awstats or
> analog for example...
> Lets say I want to show something like: x Unique Visitors Today, X
> visitors This month and stuff like that... How can I do that? Im using
> Awstats and Analog.
>
IF you want to use the Awstats and Analog (I dont know them both) you
probably have to read them into a string (or array) and dig out the
numbers (search for file_get_contents()]or fopen()) on the php website.

On the other hand ... if you only need the unique visitors per timespan
you could log the yourself (search for $_SERVER['REMOTE_ADDR'])

--
Arjen
http://www.hondenpage.com
Floortje [ Sa, 20 Januar 2007 17:52 ] [ ID #1602454 ]
PHP » alt.php » a quick question about stats on page

Vorheriges Thema: how get differences between text files: help!?
Nächstes Thema: Sending email directly to Outlook instead through ISP's SMTP server.