summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-04-15 15:52:18 +0200
committerDanilo M. <danix@danix.xyz>2026-04-15 15:52:18 +0200
commitc73ced4dfb0cf3e335eaf0e5dfdd47e785fc624d (patch)
tree2191f5454aacefc25aab021c6e5807d45a6010d3
parentae9e63e0a6eb54209520222c27fc167f313ea376 (diff)
downloaddanixxyz-c73ced4dfb0cf3e335eaf0e5dfdd47e785fc624d.tar.gz
danixxyz-c73ced4dfb0cf3e335eaf0e5dfdd47e785fc624d.zip
feat: add contact.php placeholder for form handling
-rw-r--r--static/contact.php11
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']);
+}
+?>