#!/usr/local/bin/php -c /usr/local/lib/php.ini
"; require("class.php"); $blockip = new blockip; if($_SERVER['REQUEST_METHOD']=='POST'){ $blockip->pulltogether(); $blockip->doit(); $errors = array_values(array_unique($blockip->errors())); if(count($errors) < 1){ echo ""; } else { echo "There were errors!:
"; for($i=0;$i"; } } echo "
Click here to continue."; } else { echo $javascript; $ips = $blockip->viewblocks(); if(count($ips) == 0){ $ips[] = "The IP Blocker is either not installed or isn't currently blocking any IP Addresses."; } $j = 1; for($i=0;$i
"; $j++; } echo "
IP Address
".$ips[$i]."
IP:
"; } ?>