PHP FormMail

Form Encryption

 

RECAPTCHA_PRIVATE_KEY Setting

 
 

This page documents the RECAPTCHA_PRIVATE_KEY configuration setting in FormMail.

Type Of Setting

RECAPTCHA_PRIVATE_KEY is an OPTIONAL setting, which means...

Pointer

OPTIONAL

you can change this setting if you need to, but the default value is fine for most circumstances.

Précis

Enables use of reCaptcha.

Description

Set RECAPTCHA_PRIVATE_KEY to your private key when you've subscribed to the reCaptcha service.

The reCaptcha service provides you with a public key and a private key. The public key goes into your HTML form.

The private key goes into this setting so that FormMail can validate the user's CAPTCHA response.

$RECAPTCHA_PRIVATE_KEY = "";

Examples

$RECAPTCHA_PRIVATE_KEY = "6Ld_5QkAXKAAAGyHeOrOIhJzF2tl4LHWx54iB-S2";

See Also

HOW TO guide on Using reCaptcha with FormMail

REQUIRE_CAPTCHA

HOW TO guide on Stopping Bots