read my ip address php code example
Example 1: what is my ip php
$_SERVER['REMOTE_ADDR']
Example 2: php only my ip
$myIp = '';
if ($_SERVER['REMOTE_ADDR'] == $myIp) {
//do something
}
$_SERVER['REMOTE_ADDR']
$myIp = '';
if ($_SERVER['REMOTE_ADDR'] == $myIp) {
//do something
}