Contact Form Processing Products - for all your needs

FormMail • Form Encryption • Hosted Forms

TARGET_URLS Setting

This page documents the TARGET_URLS configuration setting in FormMail.

Type Of Setting

TARGET_URLS 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

Valid URLs.

Description

Set TARGET_URLS to a list of URL prefixes that are acceptable.

TARGET_URLS is used for the "crm_url" feature and for multi-page forms.

No pattern matching is allowed, and all comparisons are performed by first converting to lower case.

Default Value

$TARGET_URLS = array();

Examples

The following example allows one URL. NOTE: the trailing '/' is important for security! It prevents attackers from specifying port numbers.

$TARGET_URLS = array("http://www.yourhost.com/")

The following example specifies a number of URLs.

$TARGET_URLS = array( "http://www.yourhost.com/", 
     "http://www.someotherhost.com/", 
     "http://www.specialplace.com:81/");

See Also

 
Close