To execute code only for a certain IP, wrap your code inside the following if statement:
<?php
if($_SERVER['REMOTE_ADDR'] == '123.123.123.123' ){
// Your code goes here
}
To execute code only for a certain IP, wrap your code inside the following if statement:
<?php
if($_SERVER['REMOTE_ADDR'] == '123.123.123.123' ){
// Your code goes here
}