IP showing Signature & Hit Counter !
You must have seen those Siggy of people which show us the IP address like this ..

here`s how you do it
You must have seen those Signature of people which show us the IP address .. here`s how you do it .
1. First save a blank .txt file named counter.txt
2. then open notepad (or any PHP-editor u use) and paste this code :
< ?php
$TextFile = "counter.txt";
$Count = trim(file_get_contents($TextFile));
$FP = fopen($TextFile, "r");
$Count=fgets($FP, 4096);
fclose ($FP);
settype($Count, "integer");
$Count++;
if ($FP = fopen ($TextFile, "w")){
fwrite ($FP, $Count);
fclose ($FP);
}$image = "counterpic.png";
$im = imagecreatefrompng($image);
$red = ImageColorAllocate ($im, 255, 0, 0);
$blue = ImageColorAllocate ($im, 0, 0, 255);
$hit = "$Count";
$ip = $_SERVER["REMOTE_ADDR"];ImageString($im, 2, 18, 1, "www.sr-ultimate.com", $blue);
ImageString($im, 2, 1, 19, " Your ip: $ip", $red);
ImageString($im, 2, 1, 30, " Page visited $hit times ", $red);
header("Content-Type: image/png");
Imagepng($im,'',100);
ImageDestroy ($im);
?>
3. Save it as index.php .
4. Now save the 3 files index.php , counter.txt & this image in a folder and upload it through FTP to any server supporting php.
5. Grant counter.txt CMOD 777 ( right click in FTP > properties > all previlages)
6. Then call index.php in your browser . that`s it ;) Enjoy
TIP:
1. You can link to the index.php with the normal image tags.
2. If you upload these files to a folder called pic.gif you will be able to use it on forums by using the url www.yourhost.com/pic.gif and it will run the index.php
and output the image, Useful if the site or forum don’t allow php images or html code.
3. You can enter any no. in counter.txt the image will show that much hits !!!! :D LOL
4. this is the final image :

~ It act as a Hit Counter , IP viewer & a Cool signature :)
Make a image like this with your name Online
Here

February 15th, 2005 at 11:10 am
Sreejith , one thing I liked a lot is the header
Its simply the BEST one yaar
simple but the coolest one
I love nature n greenery
Congrats
February 5th, 2006 at 6:56 am
Good tutorial, it works to me fine !! I Change some codes the image… but the start are the same =)
Look it:
http://www.odingames.alphamaster.net/gok/k0r3.gif/
It´s not hard to do, i loss just 2 hours to modify all that.
Thanks, and cYa fraindz
March 11th, 2006 at 11:30 am
hey im really having trouble with this. I dont under stand why it isnt working. I upload it to a folder like /pic.gif
then the link would just be
src=”http://yoursite.com/pic.gif
since the php is the index file it should jus read it right. What am i doing wrong. IM me via aim at
th3laughin9man if you would be willing to help me
March 11th, 2006 at 1:08 pm
Is the image showing up while openening index.php ?
March 19th, 2006 at 4:37 am
when I link the image from example it work but mine not. pls check it: http://www.italiajob.as.ro/pic.gif
in browser work but when I link to it… not!
March 19th, 2006 at 1:01 pm
Are you sure you are giving the right source URL ? , I looked at http://www.italiajob.as.ro/pic.gif/index.php , its says auto-redirection. :/
May 4th, 2006 at 4:59 am
hey im trying to get this to work and im not really sure what im doing wrong heres a link to the dir where all the files are
June 16th, 2006 at 12:07 pm
FREE Online Signature User Bars…
If you don’t know how to use Adobe Photoshop or any graphic tools, you can generate your own signature user bar for free. Do you want to put these colourful signature user bars in your signature? It can be use in forums, as your email signature o…