check ip with php code example
Example 1: php get ip address
$clientIPAddress=$_SERVER['REMOTE_ADDR'];
Example 2: if ip is php
if($_SERVER["REMOTE_ADDR"]=='111.111.111.111'){
//run only my ip
}
$clientIPAddress=$_SERVER['REMOTE_ADDR'];
if($_SERVER["REMOTE_ADDR"]=='111.111.111.111'){
//run only my ip
}