This is a PHP script that I wrote a long time ago (possibly around 2002) to count the unique visitors to your website. It does not require a database and stores everything in a text file. It is suitable for small websites that don’t expect large amounts of traffic. It will display web page hits in either text or graphical mode.
Please note that I have not modified this code from its original version so there may be some unknown compatibility issues. Also, if you do look at the code don’t think that I would still write any code like this.
THIS IS NOT AN EXAMPLE OF MY CODING STYLE/SKILL OF TODAY!
With all the new free Web2.0 tools that are available these days you really should be looking into implementing something like Google Analytics to track your visitors. I just thought I would make txtPHPCounter available since sites are still linking to it.