summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--header.php6
-rw-r--r--index.php3
2 files changed, 1 insertions, 8 deletions
diff --git a/header.php b/header.php
index 53a0471..42925fa 100644
--- a/header.php
+++ b/header.php
@@ -255,10 +255,6 @@
:target.modal .card {
overflow: auto;
}
-
- .honeypot {
- display: none;
- }
</style>
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link href="https://fonts.googleapis.com/css2?family=Architects+Daughter&family=Indie+Flower&family=PT+Sans&display=swap" rel="stylesheet" />
@@ -277,8 +273,6 @@
</head>
<body>
- <a class="honeypot" href="mailto:honeypot@53hor.net">Honeypot</a>
-
<nav>
<a href="/#contact">Contact Me</a>
<a href="/#reviews">Reviews</a>
diff --git a/index.php b/index.php
index cdf77fa..b9a58b1 100644
--- a/index.php
+++ b/index.php
@@ -366,8 +366,6 @@
<label for="email">Email Address</label>
<input name="email" type="email" id="email" placeholder="jdoe85@aol.com" required />
- <input class="honeypot" name="content" type="text" />
-
<label for="body">Question/Comment</label>
<textarea name="body" id="body" placeholder="Briefly describe your inquiry, including any services or areas of study you're interested in." required></textarea>
@@ -413,6 +411,7 @@
if (!$mail->send()) {
echo 'There was a problem sending your message. Please try again later or send mail to <a href="mailto:amy@carpentertutoring.com">Amy@CarpenterTutoring.com</a>.';
echo '<!--Send error: ' . $mail->ErrorInfo . '-->';
+ error_log($mail->ErrorInfo);
} else {
echo "Your message was successfully sent.";
}