Video Download

Login Page

“password1”,
“user2@example.com” => “password2”,
“user3@example.com” => “password3”
);

// Define the URL of the Google folder to redirect to after login
$google_folder_url = “https://drive.google.com/drive/folders/1234567890”;

// Check if the user has submitted the login form
if ($_SERVER[“REQUEST_METHOD”] == “POST”) {
$email = $_POST[“email”];
$password = $_POST[“password”];

// Check if the email address and password are valid
if (isset($users[$email]) && $users[$email] == $password) {
// Start the session and redirect to the Google folder URL
session_start();
$_SESSION[“email”] = $email;
header(“Location: $google_folder_url”);
exit;
} else {
// Display an error message if the login is invalid
echo ”

Invalid email address or password. Please try again.

“;
}
}
?>

” method=”post”>

Login