Contact Form Processing Products - for all your needs

FormMail • Form Encryption • Hosted Forms

ATTACK_DETECTION_URL Setting

This page documents the ATTACK_DETECTION_URL configuration setting in FormMail.

Type Of Setting

ATTACK_DETECTION_URL 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

Set URL to redirect to on attack detection.

Description

Normally, only spam bots trigger FormMail's spam attack detection.

However, sometimes real users accidentally trigger spam attack detection. In this case, you want your real users to have an explanation and instructions on resolving the problem.

Set ATTACK_DETECTION_URL to a URL that the user will be redirected to if their form submission looks like a spam or server attack.

If you do not set ATTACK_DETECTION_URL, FormMail (beginning with version 7.14) generates a default page that includes a link to this explanatory page.

Default Value

From version 9 onwards:

$ATTACK_DETECTION_URL = "";

Before version 9:

define("ATTACK_DETECTION_URL","");

Examples

From version 9 onwards:

$ATTACK_DETECTION_URL = "http://www.mysite.com/serverabuse.html";

Before version 9:

define("ATTACK_DETECTION_URL","http://www.mysite.com/serverabuse.html");

See Also

 
Close