total visits counter scripts set


This set is intended to count the total number of unique visitors of your site by checking the referer IP addresses and display it as text. It contains 3 ready-to-use total visits counters using 3 different methods of displaying data:

  1. php include() directive;
  2. html iframe widget;
  3. javascript widget.

While php include() directive can be used only within php scripts, two other methods can be called from html files as well.


  1. Upload all the three files from the appropriate subfolder to the root folder on your server.
  2. CHMOD visits.db file to 666 to make it writable.
  3. Open demo in your browser: (or demo.html)
  4. If everything works, open the local demo file, find out the code to display the widget between
    <!-- widget start -->
    <!-- widget end -->
    comments and copy it to ALL your files you want to display the widget.
  5. Remove demo from your server.

Online DEMO


Download the entire set (6kb).

Valid XHTML 1.0 Strict Valid CSS!