Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created January 21, 2021 00:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/004c4192e3f30f97bd9af3558b4b612e to your computer and use it in GitHub Desktop.
Save parzibyte/004c4192e3f30f97bd9af3558b4b612e to your computer and use it in GitHub Desktop.
<?php
include_once "funciones.php";
if (!usuarioEstaLogueado()) {
header("Location: formulario_login.php");
exit;
}
if (!isset($_GET["id"])) {
exit("Se necesita el parámetro id en la url");
}
$idUsuario = $_GET["id"];
eliminarIntentos($idUsuario);
header("Location: usuarios.php");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment