RDKL PerFecT Posted April 14, 2006 Share Posted April 14, 2006 So I've found a user's IP and registered as a variable in a DB. Is there any way I can now ban it? Cheers. Quote Link to comment Share on other sites More sharing options...
Caesar Posted April 15, 2006 Share Posted April 15, 2006 Asuming you have already ran the query for the IP, and thrown it into $banned[ip]:[code]$ip = $_SERVER[REMOTE_ADDR];if($ip == $banned[ip]){header("Location: banned.php");}[/code]Of course there is more to it, and diferent methods can be used....this should give you an idea. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.