Thread: hit counter

    #1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2000
    Posts
    11
    Rep Power
    0
    How do I call a program that will count hits
    when someone accesses a web site? I do not
    want to display the results on the page, I just want to keep track of them in a file.
  2. #2
  3. No Profile Picture
    freebsd
    Guest
    Devshed Newbie (0 - 499 posts)
    1) Go to -> http://www.scriptsearch.com/
    2) Select 'Perl' and 'Counter, text-based' from the drop down menus and click "GO" button
    3) Click on the 1st link
    4) Search for "hidden counter"
    5) Download it
    6) Install and test it
    7) What else?
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2000
    Posts
    11
    Rep Power
    0
    Thanks for the suggestion, but I would like to learn to do these things myself. Do you know how to call a cgi-script from a web page
    that doesn't use a submit button?
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Aug 2000
    Location
    Indiana
    Posts
    614
    Rep Power
    16
    <!--#exec cgi="/cgi-bin/scripts.pl" -->

    This wont process any variables you attach to it or anything. you'll need to use the 'include virtual' method to do that.
  8. #5
  9. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Aug 2000
    Location
    Indiana
    Posts
    614
    Rep Power
    16
    Note: This required SSI's to be enabled on your server. They usually are... but sometime the page has to have a .shtml extension, rather than the typical .html one.
  10. #6
  11. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2000
    Posts
    11
    Rep Power
    0
    Thanks everyone!

IMN logo majestic logo threadwatch logo seochat tools logo