Skip to main content

Posts

Showing posts from October, 2011

How to Find someone IP address ?

This is method to get someone IP using a PHP script. Just copy the below code and paste it in notepad. Save the file as xxx.php you can change xxx to any name but .php is must. $hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']); $img_number = imagecreate(400,95); $backcolor = imagecolorallocate($img_number,10,102,153); $textcolor = imagecolorallocate($img_number,255,255,255); imagefill($img_number,0,0,$backcolor); $number0 = " This is Your IP/Proxy"; $number1 = " IP: $_SERVER[HTTP_X_FORWARDED_FOR]"; $number2 = " Host/Proxy: $hostname"; $number4 = " _________________________________"; Imagestring($img_number,10,5,5,$number0,$textcolor); Imagestring($img_number,10,5,25,$number1,$textcolor); Imagestring($img_number,10,5,45,$number2,$textcolor); Imagestring($img_number,10,5,50,$number4,$textcolor); Imagestring($img_number,10,8,50,$number4,$textcolor); Imagestring($img_number,10,5,10,$number4,$textcolor); Imagestring($img_number,10,8,10