if (isAdministrador()) { header("Location: administrador.php"); } else { header("Location: usuario.php"); }