Location: PHPKode > projects > phpBandwidth > phpbandwidth/clear_iptables.php
<?
include("db_config.php");
include("db_$db[type].php");
include("user_functions.php");
if ($REMOTE_ADDR !== NULL){
	echo "Security violation";
	exit;
}
$conn = db_connect();
if ($conn === FALSE)
{
	echo "Cant connect to the database, have you connfigured it at <a href=\"db_install.php\">db_install.php</a> ?";
	exit;
}
$users = db_get_users($conn);

store_bandwidth($conn, $users, "clear_tables");

?>
Return current item: phpBandwidth