aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Pages/commissions/commissions.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/Pages/commissions/commissions.php b/src/Pages/commissions/commissions.php
index bb607e0..4884369 100644
--- a/src/Pages/commissions/commissions.php
+++ b/src/Pages/commissions/commissions.php
@@ -1,3 +1,8 @@
+<?php
+// Debug - enable error reporting
+ini_set('display_errors', 1);
+error_reporting(E_ALL);
+?>
<!DOCTYPE html>
<html lang="en">
<head>
@@ -347,10 +352,18 @@
$success = false;
$error = '';
+ // DEBUG - remove after testing
+ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
+ echo "<pre style='background:#333;color:#0f0;padding:10px;'>DEBUG POST:\n";
+ print_r($_POST);
+ echo "</pre>";
+ }
+
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
// Honeypot check
if (!empty($_POST['website'])) {
// Bot detected, silently ignore
+ echo "<p style='color:red;'>DEBUG: Honeypot triggered!</p>";
$success = true;
} else {
$name = trim($_POST['name'] ?? '');