-
click counts
I have a download page that includes number of anti virus software downloads.
what all I want is, when user click on download button, it should be counted immediately.
It may help any visitor deciding which anti virus he should downloads on the basis of number of downloads for each one.
I dont want to use any server side script, Is it possible using a client side javascript code?
-
-
You have to use server side to do this. Google around and you will find many examples, here's one to get you started, done with PHP:
http://www.dreamincode.net/forums/showtopic11803.htm
Good luck!
-
-
You don't HAVE to do it server side, but the javascript way isn't compatible with all browsers (ha- only with ie). I wouldn't recommend it though. If you have a website and it supports php, use server side scripting. Now, to do in in javascript, you would need to access a file with ActiveX (again, only found in internet explorer). You can then edit the file. You wouldn't be able to change the number in the file easily, but you can add text to it, making it larger and larger with each click (then get the length of the file)- VERY BAD. Don't do it that way. I suppose you're host's servers support php. What host do you use?
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks