Ik zoek een WERKENDE siteban script die ik boven mijn index bijv. zet.
Beloning: 0.1
Beloning: 0.1
order allow,deny
deny from 127.0.0.1
deny from 127.0.0.2
deny from 127.0.0.3
allow from all order allow,deny
deny from xxx.xxx.xxx.xx
allow from all 
[COLOR= #0000BB]<?php
$banned_ip[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/array"]array[/URL][COLOR= #007700]();[/COLOR]
[COLOR= #FF8000]//IP toevoegen door $banned_ip[] = IP HIER; erbij te zetten[/COLOR]
[COLOR= #0000BB]$banned_ip[/COLOR][COLOR= #007700][] =[/COLOR] [COLOR= #DD0000]00.000.000[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$banned_ip[/COLOR][COLOR= #007700][] =[/COLOR] [COLOR= #DD0000]01.001.100[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/in_array"]in_array[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_SERVER[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]REMOTE_ADDR[/COLOR][COLOR= #007700]],[/COLOR] [COLOR= #0000BB]$banned_ip[/COLOR][COLOR= #007700]))[/COLOR]
[URL="http://www.php.net/die"]die[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]Je bent verbannen van deze site [/COLOR][COLOR= #007700]);[/COLOR]
?>