From 37d7563b69682934417a4e42a87e913a8047a234 Mon Sep 17 00:00:00 2001 From: chris Date: Mon, 13 Jan 2025 21:27:50 -0500 Subject: [PATCH] typo php mail script --- sendEmail.php | 1 - 1 file changed, 1 deletion(-) diff --git a/sendEmail.php b/sendEmail.php index 7345950..390f892 100644 --- a/sendEmail.php +++ b/sendEmail.php @@ -3,7 +3,6 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { // Validate and sanitize inputs $name = htmlspecialchars(trim($_POST['name'])); $email = filter_var(trim($_POST['email']), FILTER_SANITIZE_EMAIL); - $subject = htmlspecialchars(trim($_POST['subject'])); $message = htmlspecialchars(trim($_POST['message'])); // Check if the email is valid