Results 1 to 5 of 5

Thread: record when a link is selected

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2000
    Location
    CWMBRAN,WALES,UK
    Posts
    146

    Question

    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

  2. #2
    PowerPoster sail3005's Avatar
    Join Date
    Oct 2000
    Location
    Chicago, IL, USA
    Posts
    2,340
    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.

    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Feb 2000
    Location
    CWMBRAN,WALES,UK
    Posts
    146
    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

  4. #4
    Guest
    GRAHAM

    here is a program that I think is what you're looking for.

    http://www.hotscripts.com/Detailed/9279.html

    scoutt

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Feb 2000
    Location
    CWMBRAN,WALES,UK
    Posts
    146

    Thumbs up

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width