Click to See Complete Forum and Search --> : record when a link is selected
GRAHAM
Mar 17th, 2001, 06:59 PM
On my site, users are able to download files by browser default on .zip files, and I would like to record when they click on the download link text. Is there any easy way of doing this in javascript, I need something that runs without the user knowing, or that does not require user input.
Any help/code would be appreciated as my domain host does not supply stats, and I cannot find a stat provider that can record the above.
GRAHAM
sail3005
Mar 18th, 2001, 11:20 AM
You can tell when someone clicks on a link in Javascript, but you cannot permanatly record this information. So the best way to go would to be to use ASP, or PHP and a database, or text file.
GRAHAM
Mar 19th, 2001, 01:58 PM
Thanks for replying Russell,
PHP is not supported on my domain server, but ASP is.
Would you happen to know a simple script that could write to a .txt file when a link is clicked, or should I post this in the ASP forum.
Any help would be really appreciated, as I have been trying for weeks to find an ASP script to do this, with no success, that's why I tried posting here for a javascript that might provide a solution. I know that javascript cannot achieve the above though.
Thanks again GRAHAM :)
GRAHAM
here is a program that I think is what you're looking for.
http://www.hotscripts.com/Detailed/9279.html
scoutt
GRAHAM
Mar 23rd, 2001, 08:55 PM
Thank you very much Scoutt, I've had a look at the script and it will certainly do what I want with a few alterations here and there... brilliant.
cheers
GRAHAM :)
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.