Gossamer Forum
Home : Products : Gossamer Links : Discussions :

statistics on the front page...

Quote Reply
statistics on the front page...
Hello there

I have a question.. I have a static front page for the directory how do I add the following:

Todays impressions
Yesterday
THis Month
Total


Please note that I'm not a programmer so try to explain as good as you can
http://www.FindSP.com - Hosting Directory
Quote Reply
Re: [FindSP.com] statistics on the front page... In reply to
You would need to run it through some other kinds of stats program. Either that, or write a script to count your page impressions (via page.cgi) into a MySQL table, and then have a date/ip table, which makes an entry for every page request (even if it is a duplicate). It would then be possible to do very quick "counts" on the table values, as they are relitivly small entries.

Sorry I can't be more specific... I'm really busy at the moment :(

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [FindSP.com] statistics on the front page... In reply to
<plug>You can use SiteStats to get the statistics.</plug>

However, if the problem is that you have the stats but you want to show them live on a static page, that is more complicated. I think you could probably use SSI but someone else would have to help you with this. Personally, I would make this page dynamic using a rewrite rule even if the rest of the site is static.