10 January 2012

How to Get IP of AnyOne

Today , I will teach you  way from which you can get the IP of your Friend or that person.They are basic Techniques used Widely Now days.



First one is Have IP logger Install :


In the Method you have Install the IP Logger to a site and can get the IP there by Giving them a link when they click , you will get IP of that Person .


Follow my Steps :


Step 1 :


First Go to X10Hosting Here and Sigh Up there and you will get the full C panel , go to C panel and Make New Folder and Put this File there.

Step 2 :
Name it as ip.php


<?php
$ip = $_SERVER['REMOTE_ADDR'];
$dt = date("l dS \of F Y h:i:s A");
$file=fopen("ip_log.txt","a");
$data = $ip.' '.$dt."\n";
fwrite($file, $data);
fclose($file);
header( 'Location: http://www.google.com' ) ;
?>
and After that , you will have to make other file at cpanel ip_lol.txt and set permission to 777 this step is important if you want to edit it directly through URL , if you don't want then leave it.
Step 3 :


Now go to your site like 


abcsite.x10.mx/ip/ip.php


and Ip is Logged and you can see it by login to cpanel







1 comment: