0) { // Benutzerdaten in ein Array auslesen. $data = mysql_fetch_array ($result); mysql_close(); // Sessionvariablen erstellen und registrieren $_SESSION["user_id"] = $data["Id"]; $_SESSION["user_vpnid"] = $data["VPNId"]; $_SESSION["user_admin"] = $data["IsAdmin"]; $_SESSION["user_nickname"] = $data["Nickname"]; $_SESSION["user_nachname"] = $data["Nachname"]; $_SESSION["user_vorname"] = $data["Vorname"]; $_SESSION["user_email"] = $data["Email"]; $_SESSION["user_avatar"] = $data["Avatar"]; $_SESSION["user_novlogin"] = $data["NovLogin"]; $_SESSION["user_novpass"] = $data["NovPass"]; header ("Location: ".$_REQUEST["path"]."&uebergabe=0&uebergabe2=0&uebergabe3=0&uebergabe4=0"); } else { mysql_close(); header ("Location: /index.php?site=lf"); } ?>