counting the number of access to a link

H

hba2pd

Hello,

I would like to know how to count the number of times a link is
clicked. A link is to a pdf file. I know how to do this in index.html
file, but I am not sure of how to do for a link.

Thank you,
 
R

Rik

Hello,

I would like to know how to count the number of times a link is
clicked. A link is to a pdf file. I know how to do this in index.html
file, but I am not sure of how to do for a link.

Make it a link to a redirecting script instead of the real deal. The
server side script can increment the count (in a database, textfile or
however you want it), and server up the desired file.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,066
Latest member
VytoKetoReviews

Latest Threads

Top