Free unique counter script

Spacemail by SpaceshipSpacemail by Spaceship
Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
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
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
hehe cool, nice script. I might use this on my new site.
 
0
Close
Thanks dotcommakers, I can use this....
 
0
Close
DomainEasy: flexible LTO options. Close more domain deals with financing.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Filters for activity feeds
Your news feed, Latest activity, and the activity tab on profiles now have filter buttons: All, Posts, Quick replies, and Other. Your...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back