NameSilo

Free unique counter script

Namecheap AuctionsNamecheap Auctions
Spacemail by SpaceshipSpacemail by Spaceship
SpaceshipSpaceship
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.
GoDaddyGoDaddy
hehe cool, nice script. I might use this on my new site.
 
0
•••
Thanks dotcommakers, I can use this....
 
0
•••
AIVikingsAIVikings

We're social

Escrow.com
Spaceship
CryptoExchange.com
Domain Recover

NamePros updates

Portfolio sites: new ways to sort, filter and group your domains
Your public portfolio page has a few new tools for visitors. Portfolio: Newest first The sort menu now has "Newest first". It shows the...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back