PHP FormMail

Form Encryption

 

MAXSTRING Setting


This page documents the MAXSTRING configuration setting in FormMail.

Type Of Setting

MAXSTRING 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

Limits the length of fields accepted from the form.

Description

Set MAXSTRING to limit the maximum length of any value accepted from the form. Increase this if you have TEXTAREAs in your forms and you want users to be able to enter lots of data. This value has no effect on file upload size.

MAXSTRING also limits the size of special fields that you set. One reason for this is to help prevent attacks on your server's PHP or other software.

MAXSTRING also limits the size of fields loaded from an INI file, however, this limiting will be removed in a later version of FormMail.

define("MAXSTRING",1024);

Examples

define("MAXSTRING",5000);

define("MAXSTRING",100);