View Full Version : Visits counter

11-10-2002, 10:28 PM
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)

11-10-2002, 10:43 PM
not in javascript, has to be server side like php, asp, or something else of those lines.

11-10-2002, 11:10 PM
yeah, i just found that out. I downloaded a couple free ones, and the mentioned "server side". What exactly is that? is that CSS?

11-10-2002, 11:37 PM
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.

11-10-2002, 11:46 PM
server side (http://www.webopedia.com/TERM/S/server_side.html)
CSS (http://www.webopedia.com/TERM/C/CSS.html)

if you need help setting up the hit counter, then ask in the Server Side Forums (http://codingforums.com/forumdisplay.php?s=&forumid=4)

11-11-2002, 04:12 AM
Thanks for the links and definitions, i actually understand :thumbsup: (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...)

11-12-2002, 04:49 PM
This counters quite good, i use it on my site. (Java script)

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

The same with

11-13-2002, 03:05 AM
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? :D

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum