CODE
<?php
//This retrieves the ip of the user
$ip=getenv('REMOTE_ADDR');
//Insert the user's IP here
$banned=xx.xx.xxx;
if (ereg($banned,$ip)) {
echo 'Banned';
exit();
}
?>
//This retrieves the ip of the user
$ip=getenv('REMOTE_ADDR');
//Insert the user's IP here
$banned=xx.xx.xxx;
if (ereg($banned,$ip)) {
echo 'Banned';
exit();
}
?>
There you go
this tutorial was made by someone on my staff.