From 85c02c3468656a85389018e4d23fc9e8a344f4a7 Mon Sep 17 00:00:00 2001 From: LinuxWizard42 Date: Wed, 30 Nov 2022 18:31:58 +0200 Subject: Updated bootstrap to 5.2.3 --- contact/index.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'contact/index.php') diff --git a/contact/index.php b/contact/index.php index e9bc0c7..20666e9 100644 --- a/contact/index.php +++ b/contact/index.php @@ -7,8 +7,8 @@ - - + + Contact - VoidNet @@ -45,7 +45,9 @@ if ( $_SERVER['REQUEST_METHOD'] === 'POST' ){ if ( isset($_POST['sender_email'], $_POST['message']) && !empty($_POST['sender_email']) && !empty($_POST['message']) ){ $user_email = NULL; if ( ($user_email = filter_var($_POST['sender_email'], FILTER_VALIDATE_EMAIL)) !== false ){ - if ( mail('linuxwizard@voidnet.dy.fi', 'Message from VoidNet contact page', 'Message from ' . $user_email . ":\r\n\r\n" . $_POST['message']) ){ + if ( mail('linuxwizard@voidnet.dy.fi', 'Message from VoidNet contact page', 'Message from ' . $user_email . ": + +" . $_POST['message']) ){ echo '
Success, your message was sent.
'; } else @@ -81,4 +83,4 @@ if ( $_SERVER['REQUEST_METHOD'] === 'POST' ){ - \ No newline at end of file + -- cgit v1.2.3-86-g962b