|TextCounter requires Server Side Includes and will display a text count of the number of visitors to a page in your web site. TextCounter includes options such as 0 padding numbers, file locking, linking from the count, displaying the date from when the count began and more. There is also a C++ Version of this script available, and a graphical counter. It works on multiple pages and allows you to restrict accesses to certain parts of your server. This program is both easy to use and configure. There are several downloading options available below and more information on this script can be found in the Readme file.
|The Readme files at Matt's Script Archive contain detailed installation, configuration and usage instructions that will take you step by step from putting the scripts on your system to using them in your web pages. You should read these through and keep them by you when setting up or installing any MSA script. It is probably not a bad idea to print them out. Each compressed script package contains a plain text version of the Readme file, however the links below will take you to their HTML counterparts.
Readme Files: TextCounter:
- Copyright and Header
- How To Call This Script From Your Web Page
|TextCounter can be downloaded in several different formats, or you can even have it mailed to you as a uuencoded file. Click on one of the links below to the appropriately compressed file and download options will appear.
|TextCounter file format: .zip (8.3kb), .tar.gz (10kb), .tar (30.7kb)
|The above distributions contain the following files you may wish to view:
counter.pl - The perl script which increments the count and prints it to the web.
convert.pl - Converts filenames from v1.2 to v1.2.1 for users upgrading.
README - Includes installation instructions and a detailed description of use.
data/ - A directory for count files to be stored in.
|Several scripts at Matt's Script Archive lend themselves well to local working demonstrations. TextCounter is one of these and the working demo is shown below.
10926 hits since [TextCounter Fatal Error: Could Not Increment Counter]
|The Frequently Asked Questions Archive at MSA is the easiest and fastest way to get help. It contains a list of the most commonly asked questions as well as their answers. Check these out before you seek other means of help, as your question may be answered here already.
Frequently Asked Questions: TextCounter:
1. What are Server Side Includes?
2. How do I make the counter appear in my HTML document?
3. What does "[TextCounter Fatal Error: This Page Not Found;
Auto-Create Option Disabled]" mean?
4. What does "[TextCounter Fatal Error: This Page Not In Valid URI]" mean?
5. What does "[TextCounter Fatal Error: Could Not Write to File XXX]" mean?
6. What does "[TextCounter Fatal Error: Could Not Increment Counter]"
|The following is a drop-in replacement for TextCounter that has been developed by a project called nms. We have also supplied info about their goals and modifications.
|nms Text Counter file format: .zip (6.3kb), .tar.gz (5.1kb)