typo php mail script
This commit is contained in:
parent
a0734d27c9
commit
37d7563b69
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user