Need help with php/ajax link counting script for site, please.

Soldato
Joined
28 Sep 2004
Posts
8,540
I am at a quandry, a php/ajax knowledge lacking quandry. :(

I have been googling and have found a few scripts which attempt to show what I mean:

http://www.lmnopc.com/2006/10/09/article-ajax-click-counter/
http://www.felgall.com/php11.php

I'm attempting to create a top 10 links page. Each link will show their number of clicks next to it, [e.g. 1. Google.co.uk (45 visits)] And as the list dynamics change, the top 10 will change automatically.

The php click trackers I have found all modify the external domain, this is something I don't want to do.

Has anyone or does anyone know of any things that'll help me out here? I'm thinking a MySQL database of all external links will probably be needed, and a call from this generated but I'm well and truly stuck at the mo.

Thanks in advance for any help. :)
 
Not articles no, just outbound links. It's for a link aggregator website.

If I was just tracking in that form, how would I id the links?

When someone clicks I'm hoping the front-end will show the changes (visit numbers go up), not to me, but to all. Just struggling understanding fully :(, thanks though.
 
Back
Top Bottom