To find someone's IP Address, simply use the following code in a .php file:-
if ( isset($_SERVER["REMOTE_ADDR"]) ) {
$ip = $_SERVER["REMOTE_ADDR"];
} else if ( isset($_SERVER["HTTP_X_FORWARDED_FOR"]) ) {
$ip = $_SERVER["HTTP_X_FORWARDED_FOR"];
} else if ( isset($_SERVER["HTTP_CLIENT_IP"]) ) {
$ip = $_SERVER["HTTP_CLIENT_IP"];
}
echo ('Your IP address is: '.$ip);
Feel free to copy and paste the code or click here. Enjoy!