|
You can put a counter on your Web page by following the directions below.
This script generates .xbm graphics. If the Web Browser cannot display .xbm graphics, the counter will not be seen. Because
the count generated by the counter script is only an approximation of the true count, we don't recommend using this counter
to keep track of the number of hits on your Web site. The script is only run when the image is retrieved.
- Create an empty text file in your homepage directory for the counter to store the count value in. This file can be called
anything you want, but it's a good idea to call it "
something.val", such as "counter.val" or
"index.val".
- Use your FTP client to set the .val file's permissions to world-writeable. If you don't do this, the counter
will not work.
- Add a link to the counter to your HTML code. You will need to use something like this:
This page has been visited <IMG SRC="http://www.seanet.com/cgi-bin/counter2.pl/the-path-to-your-val-file/counter.val">
times.
- Replace the part that reads
the-path-to-your-val-file with the actual path to your value file. The
path will probably be: ~username/filename.
Here is an example in HTML:
This page has been visited <IMG SRC="http://www.seanet.com/cgi-bin/counter2.pl/~username/counter.val">
times.
Don't forget that this is case-sensitive.
- Load the Web page and you should see the counter!
|