Have you ever thought, how someone recognizes you while browsing the internet? How does Google tell your exact location while accessing the web? All these information can be fetched with your IP address. An IP address is the identity of your computer or mobile which saves your browsing details on the web servers. The IP Address is popularly known as Internet Protocol Address which provides all details of your browsing.

There are many threads discussion going on about how to get someone’s IP address? So here I am going to tell you exact procedure to find someone’s IP address and after that find his/her location easily. But let me clarify one thing, this tutorial is only for educational purpose.

Sometimes it happens that, somebody messages your on Facebook or someone email you something. Now you don’t have any idea about who is emailing/messaging you? Now after this tutorial you can easily get the location of that personal who is messaging you over Facebook or somewhere else.

All you need to do is, just find this IP address then get all details of it. Finding the location of any IP address is very easy, follow this guide carefully for knowing somebody IP address.

How To Get Someone’s IP Address

how to find someone IP address Tracing someone’s IP address is not an easy task, but if you have a bit knowledge about websites and servers, you can track it easily. There are several methods available to find someone IP address. So in the first method is the combination of PHP and servers. Don’t worry. You don’t need to pay a single penny in find someone IP address.

Step 1- First of all, you need to copy the script given below and save it as PHP file.

$hostname = gethostbyaddr($_SERVER[‘REMOTE_ADDR’]);
$img_number = imagecreate(400,95);
$backcolor = imagecolorallocate($img_number,10,102,153);
$textcolor = imagecolorallocate($img_number,255,255,255);

$number0 = ” This is Your IP/Proxy”;
$number2 = ” Host/Proxy: $hostname”;
$number4 = ” _________________________________”;


header(“Content-type: image/png”);
$file2 = “- IP joined – IP/Proxy: $_SERVER[HTTP_X_FORWARDED_FOR] – Host: $hostname – ‘\n’ “;
fwrite($file, $file2);

Step 2- Now upload this PHP script on any free server like Hostinger or 0000webhosting with a free domain.

Step 3- Now copy and send the link to the victim who you want to know IP address. Once target will click on the link sent by you, his IP address is saved automatically to your server.


So here is the best way to get someone IP address easily. The server will automatically save the IP details of the visitor after which you can find his location and other details by submitting that IP into this link. If you face any problem in creating PHP script or uploading it on the server, please ping me in the comment box. Your query will solved shortly.


Please enter your comment!
Please enter your name here