Support Forums
Dynamic Ip tracer in image. - Printable Version

+- Support Forums (https://www.supportforums.net)
+-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87)
+--- Forum: Coding Support Forums (https://www.supportforums.net/forumdisplay.php?fid=18)
+---- Forum: PHP The Hypertext Preprocessor (https://www.supportforums.net/forumdisplay.php?fid=21)
+---- Thread: Dynamic Ip tracer in image. (/showthread.php?tid=918)

Pages: 1 2


Dynamic Ip tracer in image. - Moudi - 10-09-2009

I was always wondering how they do those freaky things in the Sig thing
I did a little research and got it...

1- Install GD on ur server
http://www.boutell.com/gd/

2-Use this script and change the location of the .php into an image tag. i think .gif is better.
PHP Code:
<?
header
("Content-type: image/png");
$ref getenv('HTTP_REFERER');
$ip $_SERVER['REMOTE_ADDR'];
$output "Your IP Address: " $ip ;
$output2 "Referrer :" .  $ref

$number 
strlen($output$output2);
$number = ($number*7)+9;
$im imagecreate($number24);
$colour1 imagecolorallocate($im636363);
$colour2 imagecolorallocate($im117127117);
imagestring($im355,  $output$colour2$output2);
imagepng($im);
imagedestroy($im);
?>

Now place it in ur sig and ur good to go.

Credit:

Thank you for reading Smile
Bump. No one interested ?


RE: Dynamic Ip tracer in image. - Tasemu - 10-09-2009

ah yer. not very unique sig anymore tho, id rather just make a nice looking unique sig that people will look and and smile...lol


RE: Dynamic Ip tracer in image. - brett7 - 10-10-2009

nice but do you have to have GD installed?


RE: Dynamic Ip tracer in image. - Moudi - 10-10-2009

Yea or you can just find a free hoster that has GD installed..
Cheers


RE: Dynamic Ip tracer in image. - Gaijin - 10-10-2009

(10-10-2009, 10:57 AM)Moudi Wrote: Yea or you can just find a free hoster that has GD installed..
Cheers

110mb.com has it, that's where I've uploaded the scripts for the two tutorials


RE: Dynamic Ip tracer in image. - Moudi - 10-11-2009

(10-10-2009, 11:08 AM)NinjaGeek Wrote: 110mb.com has it, that's where I've uploaded the scripts for the two tutorials
Thanks. ddnt know that Smile


RE: Dynamic Ip tracer in image. - Moudi - 10-15-2009

No prob guys !
A rep is appreciated Smile


RE: Dynamic Ip tracer in image. - h1r0n - 10-16-2009

you can do alot more than just getting the ID of the user


RE: Dynamic Ip tracer in image. - Moudi - 10-19-2009

BUMP.
+REP if u find this interesting Smile


RE: Dynamic Ip tracer in image. - DAMINKā„¢ - 10-19-2009

I find it interesting but dont need the rep. Smile Its my post on ftw after all lol.