Portions created by the Initial Developer are Copyright (C) 2008-2012 the Initial Developer. All Rights Reserved. Contributor(s): Mark J Crane */ include "root.php"; require_once "includes/require.php"; require_once "includes/checkauth.php"; if (permission_exists('php_editor_save')) { //access granted } else { echo "access denied"; exit; } //get the uuid from http values $clip_uuid = check_str($_GET["id"]); //delete the clip if (strlen($_GET["id"])>0) { $sql = "delete from v_clips "; $sql .= "where clip_uuid = '".$clip_uuid."' "; $prep_statement = $db->prepare(check_sql($sql)); $prep_statement->execute(); unset($sql,$db); } //redirect the browser require_once "header.php"; echo "\n"; echo "Delete Complete"; require_once "footer.php"; return; ?>