Restrict access to a set of IPs
<?php $allowed = array('73.84.167.130', '108.213.33.52'); if( in_array($_SERVER['REMOTE_ADDR'], $allowed) ){ // ... }