PHP Get Browser IP Address


 

PHP Get Browser IP Address

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 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

Ads