maybe u get mad when some ppl spam your site/blog comment or u dont want a some your rival to see your web, here some simple php scripts, to block ip address, put in index page or in any page u want.
<?
// Get Their IP!
$ip = getenv(‘REMOTE_ADDR’);
// Replace ‘1′ with ip address!
$banned= “111.111.111.111″;
if (ereg($banned,$ip))
{
echo “Sorry U have been Banned from world”;
exit();
}
?>
u can freely change the word on
echo “Sorry U have been Banned from world”;


What do you think? Leave a comment. Alternatively, write a post on your own weblog; this blog accepts trackbacks.