Kristoffer
Web designer
we got a ot, and we got DDoS or ping or wtf..
we are losing our network while their doing it... how to fix?
we are losing our network while their doing it... how to fix?
<?
$banned[0]="xxx.xxx.xxx.xxx"; // IP
$banned[1]="yyy.yyy.yyy.yyy";
$banned[2]="zzz.zzz.zzz.zzz";
// add as many as you wish
if (in_array($_SERVER['REMOTE_ADDR'],$banned)) header("HTTP/1.1 403 Forbidden");
?>
ok, but where do i put the code ? xD
and is this working : http://otland.net/f258/anti-ddos-apache-44075/