TextCounter

TextCounter allows you to include a text counter on any page.

After setting the necessary fields, click the "Install" button from "Mandatory" or "Optional" pages to create the script. The results of the operation, values of counter and the code to be inserted in your page will be displayed. Cut and paste the code onto the pages in which you want to have a counter.

 Click the "Reset" button to retrieve the original values.

Mandatory field

Data directory path: this field allows you to specify the path to the directory under which TextCounter's files will be stored. A new data file will be created for each page you add your text counter to in the specified directory. The default for this field is the textcounter directory which will be created under your home directory after installation.

Optional fields

Show Link: this field allows you to link your text counter that appears on your page to a URL. Enter your desired URL in the "Show Link" textbox.

Auto Create:  this field allows you to enable or disable Auto Create. When Auto Create is enabled which is the default, you will be able to create the counter on all your pages by copying and pasting the provided code after installing TextCounter. If you want to disable it uncheck the "Auto Create" check box.

Show Date: by clicking "Show Date", the date on which you started the counter will appear with the counter. Leave the "Show Date" check box unchecked if you don't want the date to appear on your page.

Lock Seconds:  this field defines how long the program will wait for the lock file to be cleared before overwriting the current lock file. Locks are used to avoid simultaneous writing to the count file. Without a lock, simultaneous access to your site will result in overwriting the count file.

Pad Size: this field allows you to specify the number of digits displayed by the counter. To maintain the number you specified through "Pad Size" field, zeros will be added to the front of the current count.