PHP Counter --
Config Domain Access
If you don't want other people take advantage of your
PHP counter, you may set referer validation in graphcount.php.
Enabling HTML validation will prevent other people from using the
script installed on your server to count hits on their site.
Open graphcount.php file and set $check_referer = 0; to 1 to
enable HTML referer validation.
In $referers = array ("domain.com","someotherdomain.com"); set the domains
you allow to use the counter.
Example of a correctly configured counter which will only allow
counting hits on pages under PHPJUNKYARD.COM domain:
$check_referer = 1;
$referers = array ("phpjunkyard.com");
Save the file and upload it to server.
This tutorial includes the following section: