hey can you guys give me a script for IP Ban in PHP No need Deteabse tables.
and yes i know it can be bypass with a proxy![]()
hey can you guys give me a script for IP Ban in PHP No need Deteabse tables.
and yes i know it can be bypass with a proxy![]()
[delete my reply omg]
Last edited by Ryan.b; 04-04-10 at 05:07 PM.
PHP Code:<?php
$idunwantyou = array('127.0.0.1','87.209.160.22'); // Seperate with ,
$ip = $_SERVER['REMOTE_ADDR'];
if(in_array($ip,$idunwantyou)){
die('Ip banned');
}
?>