Hello Friends…. In this post I’ll show you how you can trace the IP Address of your Friends… To find the IP Address of your friend you need two things…
1. Free Web Hosting (www.my3gb.com)
2. PHP Script File
***************************************************************************************
Now to find the IP Address of your friend you first need to Register on a Free Web Hosting Server likewww.my3gb.com
After registering on the website, login with your username and password
Now open up a Notepad from Start > All Programs > Accessories > Notepad
After opening Notepad you need to copy the following:
html>
<?php $file = “address.txt”;
$f = fopen ($file,’a');
fwrite ($f,$_SERVER['REMOTE_ADDR'],”\n”);
fclose ($f); ?>
<p>File Not Found</p>
</html>
Now save the Notepad file from File > save As…> test.php (Select the File Type as All Files)
Now upload the test.php file to your web hosting server
Upload one more file to your web hosting server i.e. address.txt
Now you will get a link to your php file… The Link will be something like this (www.abc.com/test.php)
Now send this link to your friend whose IP Address you want to trace..
When he will open the link his IP Address will be stored in the file named address.txt
Now to view the IP Address of your Friend you just need to visit the address.txt file from your web hosting server (www.abc.com/address.txt)
No comments:
Post a Comment