PHP FormMail,
Form Encryption
 
CLEANUP_CHANCE Setting

This page documents the CLEANUP_CHANCE configuration setting in FormMail.

Type Of Setting

CLEANUP_CHANCE is a LEAVE setting, which means...

Pointer

LEAVE

you can change this setting if you really want to and know what you're doing, but we recommend that you leave this setting unchanged.

Précis

Controls the cleanup of old files in SCRATCH_PAD.

Description

CLEANUP_CHANCE is the percentage probability (chance) that a given FormMail execution will perform a cleanup.

Cleanup processing incurs significant overhead, so setting this to 100 would make every form submission incur that cost. We recommend a value between 10 and 30.

The default value of 20% is a good compromise.

$CLEANUP_CHANCE = 20;

See Also

SCRATCH_PAD

CLEANUP_TIME