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