php check if ip code example Example: if ip is php if($_SERVER["REMOTE_ADDR"]=='111.111.111.111'){ //run only my ip }