Location: PHPKode > projects > Nail Streaming Server > nailss_v12/security/drop.php
<?php
session_start();
include_once( getcwd()."/../includes/configuration.php" );
include_once( getcwd()."/../includes/misc.php" );
include_once( getcwd()."/../includes/login.php" );
include_once( getcwd()."/../layout/header.php" );

if($backend != "mysql")
{
	die("MySQL Backend required");
}

connect_to($dbhost, $dbuser, $dbpass, $dbname);

if(isset($_GET["id"]))
{
	$sql0 = "DELETE FROM `ACL` WHERE `ID` = '".mysql_real_escape_string($_GET["id"])."'";
	$deleteResult0 = mysql_query($sql0);
}

echo( "
<script>
location=\"$baseURL/security.php\";
</script> 
");
?>
Return current item: Nail Streaming Server