$blocked_hosts = explode("\n", $vbulletin->options['ip_noview_host']); foreach ($blocked_hosts AS $hostname) { $hostname = trim($hostname); if (preg_match('/('. $hostname .')/i', $host) AND !empty($hostname)) { eval(standard_error(fetch_error('problem_ip_address'))); } }