              Access counter 2.0a usage information.

  If you read the README file then you should know all it needs to be known in 
order to use the counter but in any case ...

The principle:
--------------
  The idea is simple, Using the old method of "GET" that forms used to pass
data from the browser to the server, I "fake" this way a form and pass argument
(which in this case are static) to the counter program.

What can be done ?
------------------
  The counter is written in a way that can be extended in the future to support
more options.
  Currently the following variables are looked by the program:
     inv=[[off]|on] - Inverse the picture (Black on white, default is off).
     inc=[off|[on]] - Increment the counter (Default is on).
     document=URL   - Name of the document to count.
     filename=URL   - URL on the current machine to download.

How it can be done ?
--------------------
  Well, There are two parts to this:
    1)   First usage of the "img" tag. Usually you write something like this
       when you want to include a picture in your document: <img src=URL>
       where the URL is the URL pointing to the picture.
         In this case what we do put a URL that points to a CGI program (the
       counter).
    2)   Now, for the second part. The second part consist of arguments passed
       the CGI program. After you have written the URL of the CGI program (the 
       counter) you place a question mark ("?") and all that passed from that 
       point on will be passed to the program.
         The syntax goes like <variable>=<value> where <variable> should be
       replaced with the variable you wish and <value> with the value you wish
       to be set.
         If you want to pass more variables then you keep on specifing them as
       written above but you need to seperate them with an uppersend ("&").

Examples:
---------

           Simple way to count:

This page was accessed:
<img src=http://www.cs.biu.ac.il:8080/cgi-bin/count_g?document=http://www.cs.biu.ac.il:8080/~balder/index.html> times

<img src=http://www.cs.biu.ac.il:8080/cgi-bin/count_g?document=http://www.cs.biu.ac.il:8080/index.html> Accesses to this page so far

You are visitor number
<img src=http://www.cs.biu.ac.il:8080/cgi-bin/count_g?document=http://www.cs.biu.ac.il:8080/~balder/counter/index.html>

           Displaying an inverse image of the counter:

This page was accessed:
<img src=http://www.cs.biu.ac.il:8080/cgi-bin/count_g?document=http://www.cs.biu.ac.il:8080/~balder/index.html&inv=on> times

<img src=http://www.cs.biu.ac.il:8080/cgi-bin/count_g?document=http://www.cs.biu.ac.il:8080/~index.html&inv=on> Accesses to this page so far

You are visitor number
<img src=http://www.cs.biu.ac.il:8080/cgi-bin/count_g?document=http://www.cs.biu.ac.il:8080/~balder/counter/index.html&inv=on>

           Using the counter as a filter to count downloads:

<a href=http://www.cs.biu.ac.il:8080:/cgi-bin/count_g_t?filename=http://www.sela.co.il:8080/~balder/Eric.jpg>
<img src=http://www.cs.biu.ac.il:8080/cgi-bin/count_g_t?docname=http://www.sela.co.il:8080/~balder/Eric.jpg&inv=on&inc=off align=top alt=unknown></a>

   The last example shows how to use the counter as a filter to counts
 downloads of the file.
   The first part sets a link to the counter, i.e. when pressing the link the
 counter will be invoked and the name of the file to be downloaded would be
 passed to it.
   The second part sets the image as the link when the source of the link is
 the counter and the document name is the name of the file. Notice that I
 use the "inc=off" tag here since I don't want the counter to be incremented
 every time someone loads the page, just when someone tries to follow the link.
