Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Download/link counter
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Download/link counter

 Post Reply Post Reply
Author
Lucent View Drop Down
Groupie
Groupie


Joined: 06 June 2003
Status: Offline
Points: 111
Post Options Post Options   Thanks (0) Thanks(0)   Quote Lucent Quote  Post ReplyReply Direct Link To This Post Topic: Download/link counter
    Posted: 01 June 2004 at 6:46pm

1.Is it possible to create a download counter that shows how many times this link posted on the fourm has been downloaded/clicked next to the link?

2.How can I create a download counter like this one on any webpage? (shows how time this file has been downloaded)
http://www.webwiz.net/web_wiz_forums/forum_download.as p?mode=

I have been searching for this for a long time, most of them only written in php or cgi or other languages, I'm looking for something that written in asp, and able to show the # of downloads on any web page.

any help would be great.. thanks in advance..

Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 04 June 2004 at 6:19pm

for Q1

this would take a long time/ coding to empliment in the forum.

for Q2

create a database that stores ID and hits collumns and set it up so when someone clicks the link to download a file it goes to a page and adds one to the value in the database hits field.

Giving you a total download count (dont link direct to the file go to a page with an ID and depending on the ID use the certain URL (download file).

add use the onload command to link to the file or you can use a binary read to make sure no one goes direct to the link though the address bar.

hope that helps .. i am eventually going to make a application for download (when i get to it)

Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 04 June 2004 at 6:22pm

forgot to mention when that is done you can then on the page that you want to say ..Downloaded xxx times ...

add a query to get the hits value from the database for the selected ID value.

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.