Copyright © 2025 ❤ YoSoyMiDi
include("includes/header.php"); include("includes/conn.php"); include("includes/funciones.php"); if(metodo == "POST"){ $phone = getdat("phone",1); $clave = getdat("clave"); $ide = idsql("select id from eventos_usuarios where phone='".postdb($phone)."' and clave='".postdb($clave)."' and estado=1"); if($ide){ $_SESSION["logged"]=$ide; $_SESSION["logged_name"] = getdb(getval("eventos_usuarios","name",$ide)); header("location: electores/dashboard.php"); exit; } } ?>
Copyright © 2025 ❤ YoSoyMiDi