IP -Bedingung in PHP

if ($_SERVER['REMOTE_ADDR'] == 'xxx.xxx.xxx.x' ) {
  //your code here
}
Calm Cottonmouth