This page documents the FILE_OVERWRITE configuration setting in FormMail.
Type Of Setting
FILE_OVERWRITE 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
Controls overwriting of uploaded files.
Description
Set FILE_OVERWRITE to false to prevent files being overwritten when saved to FILE_REPOSITORY.
The default value of true selects the behaviour in previous versions of FormMail which did not have this configuration setting. In this case, uploaded files with the same name will overwrite previously uploaded files (subject to permission modes of the existing files).
Default Value
From version 9 onwards:
$FILE_OVERWRITE = true;
Before version 9:
define("FILE_OVERWRITE",true);
Examples
From version 9 onwards:
$FILE_OVERWRITE = false;
Before version 9:
define("FILE_OVERWRITE",false);