Nucleocide Counter
I spent all the time writing a tutorial on how to create a GD LCD image display tutorial and then I realized that I should take the extra time and incorporate the hit-counting mechanism. So, here it is. This is a simple counter that requires that you only load an image from a webpage.
Unzip the contents of the file into your images folder on a PHP enabled server. The .htaccess file makes it so that if the url counter.png is loaded, the contents of counter.php is returned (some browsers / forums don't like image names ending in .php). If you don't want to use the .htaccess file, just load counter.php as if it were the image name.
If you modify the counter.php file, you can change some values like the minimum number length. You can also change the filename of the log. The images can be resized if you want and the default .PSD file is included so you can use that as a starters.
This program is being released under the GNU GPL, so feel free to modify it and pass it off to all of your friends, as long as you mention where you got it from.
Usage: load the image like this: <img src="images/counter.png"> The image will automatically increment itself for hits. I'm not going to include the counter on my site as an example as I already have a more complex one, but graphically it will look like this:
What constitutes a hit? A unique IP address. So, if an IP hits the image once, and than again a month down the road that will only count as one hit. Sorry, but what do you expect from a flat text file?
Features:
- No database required, uses a text file
- Simply load the image from a page, no coding required
- Comes with psd file so you can redesign the LCD look
- Counts unique hits not total hits




