Text Counter

 

Calling this program is really very simple.

Put the following into any HTML document you want a count to appear in:

<!--#exec cgi="/cgi-bin/counter"-->

eg. This page has been visited <!--#exec cgi="/cgi-bin/counter"--> times.

will produce "This page has been visited 105 times.

 

To display ordinal numbers (1st, 2nd, 3rd etc) use this:

<!--#exec cgi="/cgi-bin/counter-ord"-->

eg. You are the <!--#exec cgi="/cgi-bin/counter-ord"--> visitor..

will produce: You are the 105th visitor.

 

Make sure your document filename ends with .html The counter will not display properly if your filename ends with just .htm