Download counter

how can I create a Download counter?


  • : how can I create a Download counter?

    Instead of using links like this to link to a file:

    Some File

    Use this:

    Some File

    Then in your downcount.asp, at the top you would have code to update your database / text file with an incremented download count for the file specified on the querystring. Once you've updated the database / text file, just use:


    NOTE: You should probably use Server.URLEncode() on the link, since the path and filename you're passing on the querystring may have "special" characters.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion