From fb91727dacff51cf59d95a8bdbef5a9aeca1b2ed Mon Sep 17 00:00:00 2001 From: hugo Date: Wed, 5 Jun 2024 15:31:05 +0200 Subject: [PATCH] php --- PHP/main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PHP/main.php b/PHP/main.php index 21e2402..cf70f83 100644 --- a/PHP/main.php +++ b/PHP/main.php @@ -15,7 +15,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") { $headers .= "Reply-To: $email\r\n"; if (mail($to, $email_subject, $email_body, $headers)) { - header("Location: send.html"); + header("Location: index.html"); exit; } else { echo "Failed to send the email.";