From 02619b31b2551802f4cc4a128d563584c68622b2 Mon Sep 17 00:00:00 2001 From: GhadaA98 Date: Wed, 14 Jun 2023 19:22:59 +0200 Subject: [PATCH] =?UTF-8?q?anmeldesystem=20wurde=20ge=C3=A4ndert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- anmelden_meinebuecher.php | 2 +- anmeldesystem_meinebuecher.php | 28 ++++++++++++++++++++++++++++ meinebuecher.php | 23 +---------------------- 3 files changed, 30 insertions(+), 23 deletions(-) create mode 100644 anmeldesystem_meinebuecher.php diff --git a/anmelden_meinebuecher.php b/anmelden_meinebuecher.php index 5360924..ac1c4f2 100644 --- a/anmelden_meinebuecher.php +++ b/anmelden_meinebuecher.php @@ -53,7 +53,7 @@ session_start(); if(isset($_SESSION['eingeloggt']) && $_SESSION['eingeloggt'] == 1 ){ - require_once "meinebuecher.php"; + require_once "anmeldesystem_meinebuecher.php"; }else{ echo ' diff --git a/anmeldesystem_meinebuecher.php b/anmeldesystem_meinebuecher.php new file mode 100644 index 0000000..65d1a56 --- /dev/null +++ b/anmeldesystem_meinebuecher.php @@ -0,0 +1,28 @@ + \ No newline at end of file diff --git a/meinebuecher.php b/meinebuecher.php index 9eb14df..981afc3 100644 --- a/meinebuecher.php +++ b/meinebuecher.php @@ -51,26 +51,7 @@ 0){ @@ -222,9 +203,7 @@ if(isset($_POST['submit'])){ }else{ header("Location: benutzer_existiert_nicht.php"); } -}else{ - header("Location: 404.html"); -} + ?>