hyperlink click counter
Posted: Mon Apr 14, 2003 9:26 am
Hi all,
I know this may seem basic, but I am just looking for different ways to tackling this problem. (Yes I am a Newbie)
Here are the specs.
---------------------------------------
I want to count how many times someone clicks on a link to an external site.
I want to store that information (the number of clicks) in a DB (MySQL) so I can retrieve it later and use it for things like top 5 clicked links etc..
I want to make the method of collecting the information as transparent to the end user as possible.
*Extra info*
I want to store the link info i.e. the URL and link text in the DB as well.
----------------------------------------
Well what do you think? I am looking for a number of different ways to do this. I will probably use / learn / develop a solution from the simplest, most elegant suggestion that is also the most transparent to the end user.
The project is just for me, I want to make a link page for my favourite sites (URLs) and learn some PHP in the process.
Lukenet
I know this may seem basic, but I am just looking for different ways to tackling this problem. (Yes I am a Newbie)
Here are the specs.
---------------------------------------
I want to count how many times someone clicks on a link to an external site.
I want to store that information (the number of clicks) in a DB (MySQL) so I can retrieve it later and use it for things like top 5 clicked links etc..
I want to make the method of collecting the information as transparent to the end user as possible.
*Extra info*
I want to store the link info i.e. the URL and link text in the DB as well.
----------------------------------------
Well what do you think? I am looking for a number of different ways to do this. I will probably use / learn / develop a solution from the simplest, most elegant suggestion that is also the most transparent to the end user.
The project is just for me, I want to make a link page for my favourite sites (URLs) and learn some PHP in the process.
Lukenet