TransWar File Browser

Path: C:\

<?php
session_start();
include_once("../seguranca.php");
include_once("../conexao.php");
$id = $_GET["id"];
$query = sqlsrv_query($conn2,"DELETE FROM dbo.usuarios  WHERE id='" .$id."'" );
?>
<!DOCTYPE html>
<html lang="pt-br">
  <head>
    <meta charset="utf-8">
	</head>

	<body>
		<?php
		if(sqlsrv_rows_affected($query) != 0){	
			echo "
				<script type=\"text/javascript\">
					alert(\"Usuário Apagado com Sucesso.\");
				</script>
			";		   
		}
		 else{ 	
				echo "
				<script type=\"text/javascript\">
					alert(\"Alteração NÃO teve Sucesso.\");
				</script>
			";		   
		}
		echo "<script language='JavaScript'>window.location.href='../main.php?link=2'; </script>"
		?>
	</body>
</html>