To Get And Show The Ip Address Via Javascript- PHP
Here are code for get ip address in some language code
JavaScript Code
var ip= ‘<!–#echo var=”REMOTE_ADDR”–>’;
document.write(“Your IP Address is :”+ip+” “);
ASP Code
request.ServerVariables(“REMOTE_ADDR”)
PHP Code
<?
$remote_address = getenv(“REMOTE_ADDR”);
echo “Your IP address is $remote_address.”;
$browser_type = getenv(“HTTP_USER_AGENT”);
echo “You are using $browser_type.”;
?>