<?php | |
function getRemoteIPAddress() { | |
$ip = $_SERVER['REMOTE_ADDR']; | |
return $ip; | |
} |
Ben Fistein Sunday, 26 March 2017 |
Get Remote IP Address in PHP.
<?php | |
function getRemoteIPAddress() { | |
$ip = $_SERVER['REMOTE_ADDR']; | |
return $ip; | |
} |