Code
$bad_ip = 'xxx.xxx.xxx.xxx'; // the "x's" are where you put the ip of who you want to ban.
$visitor_ip = $_SERVER['REMOTE_ADDR']; // the ip address of the visitor
if($visitor_ip == $bad_ip)
{
die("Tsk, tsk, tsk you got banned!!");
** ?>
$visitor_ip = $_SERVER['REMOTE_ADDR']; // the ip address of the visitor
if($visitor_ip == $bad_ip)
{
die("Tsk, tsk, tsk you got banned!!");
** ?>