datwig -
Joined: 26 Jan 2003 Posts: 85
|
Posted: Fri Feb 28, 2003 7:29 am Post subject: Very basic IP banning script |
|
|
This is a script that I took form www.pscode.com Code: | <?
$IP="216.9.0.110";
// Change $IP To the IP to ban...
if($HTTP_SERVER_VARS["REMOTE_ADDR"]==$IP):
$GoAway = "Go away, You are banned from viewing this site!";
echo $GoAway;
endif;
?> |
Well, there's an easy script for IP banning! ( I dunno how to edit it so that you can ban multiple IP's) |
|