From fc2e8c47c7d6fdbcd1aa0abf751ac648dfb80eaf Mon Sep 17 00:00:00 2001 From: KARTIK SAXENA <92146206+kartiksaxena532@users.noreply.github.com> Date: Wed, 12 Oct 2022 14:03:31 +0530 Subject: [PATCH] Create FORM.php new working php file form form --- FORM.php | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 FORM.php diff --git a/FORM.php b/FORM.php new file mode 100644 index 0000000..3c6cd53 --- /dev/null +++ b/FORM.php @@ -0,0 +1,34 @@ + +
+ the form again."; + } + else{ + $from="From: $name<$email>\r\nReturn-path: $email"; + $subject="Message sent using your contact form"; + mail("youremail@yoursite.com", $subject, $message, $from); + echo "Email sent!"; + } + } +?>