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.";
?>
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.";
?>

Subscribe to:
Post Comments (Atom)
Share your views...
0 Respones to "To Get And Show The Ip Via Javascript"
Post a Comment
Confused? Feel free to ask
Your feedback is always appreciated. I will try to reply to your queries as soon as time allows.
Note:
1. To add HTML CODE in comments then please use our HTML Encoder
2. You can always Try the tutorial on our HTML Editor
3. Please do not spam Spam comments will be deleted immediately upon my review.