title: white list ip address for admin access
body: <p>I have an area on my site that I would like to only give access to a few people. My code now only works with one ip address, but I would like to be able to add more. </p>
  
  <p>Here is what I am using:</p>
  
  <pre><code>$ipaddress = $_SERVER['REMOTE_ADDR'];
  if($ipaddress == '111.111.111.111') {
  //Action for allowed IP Addresses
  } else {
  //Action for all other IP Addresses
  echo 'You are not authorized here.'; 
  echo "&lt;br /&gt;IP Address: ".$_SERVER['REMOTE_ADDR'];
  exit;
  }
  </code></pre>