diff options
Diffstat (limited to 'php/01-common-theme/contact-process.php')
| -rw-r--r-- | php/01-common-theme/contact-process.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/php/01-common-theme/contact-process.php b/php/01-common-theme/contact-process.php new file mode 100644 index 0000000..20181f8 --- /dev/null +++ b/php/01-common-theme/contact-process.php @@ -0,0 +1,20 @@ +<?php + +// Do the processing +$subject = $_POST['subject']; +$message = $_POST['message']; + +// Send an email +// ... + + +include "common/header.php"; + +?> + +<p>Thank you! Your message with the subject "<?= htmlspecialchars($subject) ?>" was received successfully.</p> + +<?php + +include "common/footer.php"; + |
