| Besucher Statistik
» 1 Online
» 79 Heute
» 278 Woche
» 2448 Monat
» 15934 Jahr
» 244301 Gesamt
Rekord: 231 (12.05.2013)
Free PHP Counter Script (english version)
As there was no good textfile-based counter, i developed one myself. I decided to give it for free to other people. This here is the english version of my counter. On my site, you will see the german version under my navigation, so do not wonder.
The Counter Script is based on an text file and needs no database. The script includes an IP blocker and blocks of lot of bots, to get sure that only real visitors will be counted. You will see daily, weekly, montly, yearly and all visitors inside the counter. In addition you can see how many visitors are online at the moment and an online record (date with number of visitors at this date). You will find an demo of the german counter on my site.
Your server needs to support PHP when you like to use that counter.
For installation, you need to copy the files counter.txt, counter.php and counter.gif in your web folder. Do not forget the file rights (chmod) (counter.php -> 755 , counter.txt -> 777) for counter.txt and counter.php when needed. Now you can include the counter on each place of your choice:
<? include "counter.php"; ?>
When you are working with several folders on your website, you have to set the counter.txt path inside the conter.php on the top.
Download PHP Counter
You need help? ICQ Support: 110571324
The counter is for free. The author is not liable for problems with this counter. You use it on your own risk. You are not allowed to the remove the link inside the icon. You can remove it for an little fee of 15 EUR (Paypal is possible). One licence for one domain.
Klick here to get an advertisement free edition of the counter
When you find any errors or have problems, i would be happy of an email. When you find any languages mistakes on this site, let my know and i will correct the. (english is my second language)
Question: How to include the counter in .htm or .html files?
Answer: You can edit the .htacces file and say to your server to parse .htm and .html files. Just create a new file with this content:
AddType application/x-httpd-php .php .php4 .html .htm
Save this file under .htaccess in your home directory. (the . before the file name is needed, no typing error). This solutions does not work for every webhoster. When it does not works, please ask your webhoster.