How To Get Ip Address Of Anyone Using Just A PHP Scipt

2nd

 

HOW TO GET IP ADRESS OF SOMENONE USING PHP ………… (SOOO SIMPLE)
AND THIS ALSO WORKING
# ONLY 3 STEPS

1) COPY THE CODE BELOW AND PASTE IT IN THE NOTEPAD(code must be the same) :

<?php
$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,$number4,$textcolor);

header(“Content-type: image/png”);
imagepng($img_number);
$file=fopen(“Name-here-to-protect-the-File.txt”,”a”);
$file2 = “- IP joined – IP/Proxy: $_SERVER[HTTP_X_FORWARDED_FOR] – Host: $hostname – ‘\n’ “;
fwrite($file, $file2);
fclose($file);
?>

 

2) NOW SAVE THAT AS INDEX.PHP.

3) THEN GO TO ANY FREEE WEBHOSTING SITE AND SIGNUP.

4) GO TO FILES > FILE MANAGER 1 > AND UPLOAD THE CODE(INDEX.PHP) THAT U SAVED EARLIER….

5) NOW SEND THAT DOMAIN THAT YOU REGISTER AND UPLOAD THE CODE TO YOUR FRIEND… IF HE CLICK THAT, AUTOMATICLLY U WILL GET THE IP ADRESS IN THE LOGS HTML.

You may also like

Leave a Reply

Your email address will not be published. Required fields are marked *

Popular News

Featured News

Trending News