Parašė Efectaz· 2009 Vas. 21 21:02:11
#4
dedi pries <?php
adminstration/navigation.php faile ipus atskiri |
Kodas:
$adminai = "84.32.121.29|";
$listas=explode("|", $adminai);
$ip = $_SERVER['REMOTE_ADDR'];
if (!in_array($ip, $listas)) {
$result = dbquery("INSERT INTO ".$db_prefix."blacklist (blacklist_ip, blacklist_reason) VALUES ('$ip', 'Mëginimas ásibrauti á Admin valdymà.')");
}
Redagavo Efectaz· 2009 Vas. 21 21:02:08