diff options
Diffstat (limited to 'static')
| -rw-r--r-- | static/contact.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/static/contact.php b/static/contact.php new file mode 100644 index 0000000..ddd3fe1 --- /dev/null +++ b/static/contact.php @@ -0,0 +1,11 @@ +<?php +// Placeholder contact form endpoint +// This file should be implemented by the site owner +// to handle form submissions and send emails + +if ($_SERVER['REQUEST_METHOD'] === 'POST') { + // TODO: Implement contact form handler + http_response_code(501); + echo json_encode(['error' => 'Contact form handler not implemented']); +} +?> |
