If the "Honeypot" feature is enabled on a form in WB19, is there any additional code to be added by the user to actually enable blocking? The help file and tutorial indicates the Honeypot triggered email "can be blocked"...but does WB actually do the blocking, or is there another step on the user's side?
The reason I ask is that in looking at the PHP code, the Honeypot selected variable doesn't appear to be examined during validation.
Honeypot Email Blocking
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/forms.html
http://www.wysiwygwebbuilder.com/form_wizard.html
Frequently Asked Questions about Forms
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/forms.html
http://www.wysiwygwebbuilder.com/form_wizard.html
Frequently Asked Questions about Forms
Honeypot Email Blocking
Last edited by gofrank on Wed Nov 29, 2023 12:03 pm, edited 1 time in total.
Billing clients for your freelance work? Try Minute-2-Minute, the project management, timing, and billing system. Perfect for web developers who charge by the hour. FREE 45-day trial.
Re: Honeypot Email Blockinig
You do not have to add any code yourself.
The generated code will look something like this:
The generated code will look something like this:
Code: Select all
if (!empty($_POST['phone']))
{
$error .= "Spam detected.\n<br>";
throw new Exception($error);
}
Re: Honeypot Email Blocking
You're right! I missed the exception when looking at the code. When that happens, it's a sign I've spent too much time at the computer and need a good night's sleep.
Thanks, Pablo.
Thanks, Pablo.
Billing clients for your freelance work? Try Minute-2-Minute, the project management, timing, and billing system. Perfect for web developers who charge by the hour. FREE 45-day trial.