SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    Gone!
    Join Date
    Aug 2001
    Location
    Witty Location Parody
    Posts
    3,889
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Just a simple counter!

    Hey guys,

    I am looking for a simple counter in javascript that would be invisible and would track the amount of times the page is loaded. Would it also be possible to, have this written to a text file and like increment by 1 each time. I know this is easy in asp or similar but the site is just html and javascript.

    Thanks

  2. #2
    SitePoint Member [MOS]'s Avatar
    Join Date
    Jun 2001
    Location
    Madrid, Spain
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You have no way to write a text file from client-side code.

    Try CGI instead.
    Carlos de la Orden
    The higher a man gets, the smaller he looks for people who can't fly.

    www.aspfacil.com, el sitio para programadores ASP

  3. #3
    SitePoint Enthusiast JohnInFl's Avatar
    Join Date
    Sep 2001
    Location
    FL, USA
    Posts
    87
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Glen,

    Try this for CGI stuff
    CGI Resource Directory Text Based Access Counters

  4. #4
    Gone!
    Join Date
    Aug 2001
    Location
    Witty Location Parody
    Posts
    3,889
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    OK Thanks

    I have lookedin to cgi and have a problem but i will put that int he relevant section.



Bookmarks

Posting Permissions

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