Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8

Thread: Visits counter

  1. #1
    New Coder
    Join Date
    Nov 2002
    Location
    Burke, VA
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Visits counter

    Anyone know how to make (or, preferably, where to get) a Counter that will count the number of visits to my site? I know you may have to do it in PHP or Javascript, and im posting this in the wrong place, but im fairly new at this (obviously)

  • #2
    Regular Coder
    Join Date
    Sep 2002
    Location
    Louisiana
    Posts
    576
    Thanks
    0
    Thanked 0 Times in 0 Posts
    not in javascript, has to be server side like php, asp, or something else of those lines.

  • #3
    New Coder
    Join Date
    Nov 2002
    Location
    Burke, VA
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts
    yeah, i just found that out. I downloaded a couple free ones, and the mentioned "server side". What exactly is that? is that CSS?

  • #4
    Regular Coder
    Join Date
    Sep 2002
    Location
    Louisiana
    Posts
    576
    Thanks
    0
    Thanked 0 Times in 0 Posts
    server side means they have to be installed on the server running your site. client side means it has to be installed on the client machine. css is cascading sytle sheets is used to make effects that you can't do with <font color="blue">. you can do much more with css.

    i know the definition of server and client is a little off but that is the basic idea.

  • #5
    Senior Coder joh6nn's Avatar
    Join Date
    Jun 2002
    Location
    72° W. 48' 57" , 41° N. 32' 04"
    Posts
    1,887
    Thanks
    0
    Thanked 1 Time in 1 Post
    server side
    CSS

    if you need help setting up the hit counter, then ask in the Server Side Forums
    bluemood | devedge | devmo | MS Dev Library | WebMonkey | the Guide

    i am a loser geek, crazy with an evil streak,
    yes i do believe there is a violent thing inside of me.

  • #6
    New Coder
    Join Date
    Nov 2002
    Location
    Burke, VA
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks for the links and definitions, i actually understand (im not sure about these smilies...)

    i hate to dump all this "simple" stuff on everyone, a counter is definitly too advanced for my novice skills, but it can be done and i want to do it, so thanks for all the help!

    Can you interpret these instructions for me:

    STEP 1: Unzip all of the files in the 'hitcounter.zip' file into a temporary directory on your hard drive. i know how to do that
    STEP 2: Open up 'counter.cgi' and edit the very first line of this file to the path of your perl program on your web server. If you are unsure what this is, ask your server administrator for details. You may not have to change this line and may work anyway. After you have edited this line, you can close the file and save the changes to it. - what is "perl program", and what do i change it to

    STEP 3: Upload 'counter.cgi' and 'count.dat' into your web directory or cgi-bin on your web server, and then CHMOD the file 'counter.cgi' to 755, and CHMOD 'count.dat' to 777. We suggest that you use CuteFtp, which is a very good file uploader. Im using WS_FTP. What is this CHMOD command and how do i use it and what are those numbers im changing?

    STEP 4: To include the hit counter on a web page you need to have Server Side Include's enable on your web server, ask your server administrator if you are unsure about this. If you web server is Server Side Include's compatible, then add the following html code into your web page that you want the hit counter displayed on:

    <!--#exec cgi="counter.cgi" --> i know how to enter this code (wow...)

  • #7
    New Coder
    Join Date
    Jun 2002
    Posts
    40
    Thanks
    0
    Thanked 0 Times in 0 Posts
    This counters quite good, i use it on my site. (Java script)
    http://www.onestat.com/html/home.html

    Its just a case of copy and paste the code on your page.

    The same with
    http://www.stats4all.com/asp/index.asp

  • #8
    New Coder
    Join Date
    Nov 2002
    Location
    Burke, VA
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks for the links Charl, i will probably end up using one of those. My question still stands, though. I want to learn what that stuff means.

    BTW: Charl, you have the best website i have ever seen! I can only strive to compare with your awsome Flash skills... how did you learn? Any good books, or did you take a class, or did you learn by just messing around (if that's possible)

    One more thing: are the horizontal lines parallel?
    Last edited by fLiP; 11-13-2002 at 03:10 AM.


  •  

    Posting Permissions

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