Contact Form Processing Products - for all your needs

FormMail • Form Encryption • Hosted Forms

FILEUPLOADS Setting

This page documents the FILEUPLOADS configuration setting in FormMail.

Type Of Setting

FILEUPLOADS is an OPTIONAL setting, which means...

OPTIONAL : you can change this setting if you need to, but the default valueis fine for most circumstances.

Précis

Enables file upload processing.

Description

Set FILEUPLOADS to true if you want to allow forms to upload files. Leave at false to prevent file attachments in your emails or file storage on the server.

This is a security measure. Setting to false prevents attackers from using your FormMail to send you malicious file attachments or saving files on your server.

The php.ini and httpd.conf files can set file_uploads to false to disable file uploading. You cannot override a false setting in these files.

Default Value

From version 9 onwards:

$FILEUPLOADS = false;

Before version 9:

define("FILEUPLOADS",false);

Examples

From version 9 onwards:

$FILEUPLOADS = true;

Before version 9:

define("FILEUPLOADS",true);

See Also

 
Close