see if you do that, you have to specify all those ranges
with
if (preg_match('/^192\.168\.0\./', $ip)) {
echo "You have been banned from this web site. Your IP ($ip) was logged. Thank you and have a nice day!";
}
all you do type in the one ip and this script will do the full range 1-254 for you
so lets say my ip is 192.168.0.1 so I ban that ip, and I come back with 192.168.0.2 then I ban that then I come back with 192.168.0.3 then I Ban that etc... see you would have to ban ip's
192.168.0.0 to 192.168.0.254 you have to specify that 254 times in a array why? and thats for one user why?