Unstoppable Domains

Free unique counter script

Spaceship Spaceship
Watch
enjoy this script .. rep. always appriciated

copy paste this in a file and save it as .php.. thats it upload and enjoy

PHP:
<?php

/*THIS SCRIPT IS FREE TO USE
PLEASE DONT REMOVE THIS NOTICE
Distributed by dotcommakers.com*/


$file = "count.txt";
if ( is_file( $file )==false )
{
touch($file);
$open = fopen($file, "w");
fwrite($open, "0");
fclose($open);
}
$open = fopen($file, "r");
$size = filesize($file);
$count = fread($open, $size);
fclose($open);
if (!isset($_COOKIE['mycounter'])) {
$open = fopen($file, "w");
$count++;
fwrite($open, $count);
fclose($open);
setcookie("mycounter","Checked",time()+86400);
}
print $count;
?>
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable DomainsUnstoppable Domains
hehe cool, nice script. I might use this on my new site.
 
0
•••
Thanks dotcommakers, I can use this....
 
0
•••
Dynadot — .com Registration $8.99Dynadot — .com Registration $8.99

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Zero Commission
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back