How do you do it? I've tried to do a lot of stuff, but failed each time
use $GLOBALS["HTTP_HOST"] to get users' ip
if the one you want to ban give a message and exit;
else do your job...