<?php
$url = 'put your ip banlist filename here';
$iplist = explode(',', file($url));
for ($j=0; $j < count($iplist); $j++)
{
if(preg_match('#' . $iplist[$j] . '#i', $_SERVER['REMOTE_ADDR']))
{
// This is where you put what you want to happen
// For now we will just kill the script...