Original von Rapper
Danke!
Aber neues Problem:
Ich soll in der index.php das einfügen:
PHP-Code:
db_query("DELETE FROM ".$db_prefix."_traffic_reload WHERE reload_bis<='".time()."'");
Aber die index.php besteht aus das hier:
PHP-Code:
<?
$_GET['content'] = str_replace('.','',$_GET['content']);
$check = explode("../",$_GET['content']);
if (isset($check[1]) && $check[1]!='') {
echo 'Zugriff verweigert!';
exit;
}
@include_once('lib/header.php');
@include_once('content'.$_GET['content'].'.php');
@include_once('lib/footer.php');
?>
Wo soll das denn rein?
PHP-Code:
<?
$_GET['content'] = str_replace('.','',$_GET['content']);
$check = explode("../",$_GET['content']);
if (isset($check[1]) && $check[1]!='') {
echo 'Zugriff verweigert!';
exit;
}
@include_once('lib/header.php');
@include_once('content'.$_GET['content'].'.php');
@include_once('lib/footer.php');
db_query("DELETE FROM ".$db_prefix."_traffic_reload WHERE reload_bis<='".time()."'");
?>