Simple PHP Array IP Banning
$bannedIPs = array('93.174.93.217'); if (in_array($_SERVER['REMOTE_ADDR'], $bannedIPs)) { header('HTTP/1.0 403 Forbidden'); exit; }