Wednesday, 24 April 2013

How to Get And 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.";
?>
http://www.zone-h.org/archive/notifier=j0k3r%203xpl0it3r?zh=1

0 comments:

Post a Comment

Template by:

Free Blog Templates