Share on Google+Share on Google+

PHP Get Browser IP Address

Advertisement
PHP Get Browser IP Address has an example to show you how to get or detect IP address of your system.

PHP Get Browser IP Address

PHP provides us  $_SERVER['REMOTE_ADDR'] function is used to display the Browser IP address

PHP Get IP Address Code:

<?php

echo "My Browser IP is :". $_SERVER['REMOTE_ADDR'];

?>

Output:

My Browser IP is :127.0.0.1

Advertisements

Posted on: October 9, 2009 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Share this Tutorial Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.