To Get And Show The Ip Via JavascriptHARDWARE NETWORKING LINUX SOFTWAREIt Tech Technology

It Tech Technology

COMPUTER HARDWARE NETWORKING

Breaking

Home Top Ad

Post Top Ad

Saturday, September 26, 2015

To Get And Show The Ip Via Javascript

To show the ip via JavaScript 
var ip= '';
document.write("Your IP Address is :"+ip+" ");
___________________________________________________________
To show IP via ASP


request.ServerVariables("REMOTE_ADDR")
___________________________________________________________
TO SHOW IP VIA PHP

$remote_address = getenv("REMOTE_ADDR");
echo "Your IP address is $remote_address.";
$browser_type = getenv("HTTP_USER_AGENT");
echo "You are using $browser_type.";
?>




Post Bottom Ad