hey i want a counter that when a link is clicked it counts for downloads - say how many times the download button is clicked!
You could use PHP and a MySQL DB. You could set up a table like this: id url count 1 files/aLogo.psd 23 2 files/anEbook.pdf 61 3 files/aSong.mp3 12 Code (markup): Then what you can do is set up a redirect page that handles your counter for you. The redirect page would: Use the linkID specified to grab the relevant record. Extract the information. Increment the counter. Update the table with the updated counter. Redirect the user using "header('Location: $linkURL');" or whatever. I'm assuming you have some programming knowledge here, if not give me a shout and I'll elaborate if I'm not too busy!
If you looking for a hit counter, see this one. If you are looking for a outbound link click counter see this one.