0) { $cmd = trim(check_str($_GET['cmd'])); $fax_uuid = trim(check_str($_GET['id'])); } //authorized commands if ($cmd == 'delete') { //authorized; } else { //not found. this command is not authorized echo "access denied"; exit; } //Command if ($cmd == 'delete') { if($fax_uuid){ $sql = <<exec($sql); // if($result === false){ // var_dump($db->errorInfo()); // } } } ?>