This page documents the REQUIRE_CAPTCHA configuration setting in FormMail.
Type Of Setting
REQUIRE_CAPTCHA is an OPTIONAL setting, which means...
 |
OPTIONAL |
you can change this setting if you need to, but the default
value is fine for most
circumstances.
|
Précis
Forces image verification for form submissions.
Description
Set REQUIRE_CAPTCHA to a non-empty string to ensure
that CAPTCHA
is required for all form submissions.
Before version 8.10 of FormMail, you needed to implement CAPTCHA
by making "imgverify" a required field. To be effective against spammers,
you also needed to implement an INI file and put the required specification
for the "imgverify" field into the INI file.
From version 8.10, you can use the REQUIRE_CAPTCHA configuration setting in FormMail to
ensure CAPTCHA is required, without using a required specification and INI file.
To enforce CAPTCHA, you set REQUIRE_CAPTCHA to a string that will be
displayed to the user if they don't provide the "imgverify"
field.
$REQUIRE_CAPTCHA = "";
Examples
$REQUIRE_CAPTCHA = "Please enter the image characters";
See Also
ATTACK_DETECTION_REVERSE_CAPTCHA
HOW TO guide on Stopping Bots
|