- Back to Home »
- javascript , php , TIPS »
- SHOW IP ADDRESS VIA JAVASCRIPT & PHP
Posted by : Unknown
Monday, 21 October 2013
To Get And Show The Ip Via Javascript
To show the ip via JavaScript
var ip= '<!--#echo var="REMOTE_ADDR"-->';
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.";
?>
The same comparison holds true for other violent crime statistics with the US having significantly higher crime rates in all categories my Website even though you may be tempted to do this that will help you
ReplyDeletebe accredited for the big quantity, adding knowingly untrue facts in regards to
the application is fraud, that might result inside
a legal prosecution.