<?php
include_once('framework/mysql.php');
include_once('framework/config.php');
function getip() {
if(getenv("HTTP_X_FORWARDED_FOR"))
$ip = getenv("HTTP_X_FORWARDED_FOR");
else
$ip = getenv("REMOTE_ADDR");
return $ip;
}
$actual = time();
$register = getip();
mysql_query("DELETE FROM iplock WHERE iplock_timed<$iplock") OR die(mysql_error());
?>