cPanel Hosting by
  • Free PHP Scripts »
  • PHP Text Hit Counter
  • Bookmark and Share

PHP Text Hit Counter

Script name: PHPCount - PHP text hit counter
Current version: 1.6.1
Price: FREE

Download Now

Text Hit Counter

PHPcount is a simple yet effective PHP text hit counter. It uses flat-text database so no SQL database is necessary. It can count hits for multiple pages of your website or even websites on other servers. With the help of cookies it can count unique visits only.

The count is displayed on the page using a simple Javascript code. The script prints out only the number (i.e. 15344) which you can easily format with HTML code.

Download Now »


  • PHP 4.4 or newer

PHPTCount has been tested on servers under Linux, Windows and FreeBSD operating systems. It should work on any server with a working installation of PHP.


Below are a few examples of how this counter can be implemented into your website. Reload this page to see how the value of counter increases. The sky is the limit as far as formatting the number is concerned.

visits since xx-yy-zzzz

Number of visitors so far:

This page has been visited times!

Rate PHP text hit counter!

If you like this script please rate it or even write a review at:

Rate this Script @ Hot Scripts

Rate this Script @ The PHP Resource Index



Do you like this free script?

In exchange please place a link to to your website. It can be as simple as a text link or choose one of the banners available here. Thank you!


Be notified of future updates!

Join PHPJunkyard low-volume newsletter to be notified about new scripts, new versions of the existing scripts and other important news. Subscribe here

Dedicated Servers by