Contact Form Processing Products - for all your needs

FormMail • Form Encryption • Hosted Forms

LOGDIR Setting

Type Of Setting

LOGDIR 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

Sets directory/folder for log files.

Description

Set LOGDIR to the directory on your server where log files are stored. When an HTML form provides a 'logfile' value, formmail.php expects the file to be in this directory.

Generally you want this to be outside your server's document root directory. For example, if your server's document root directory is:

/home/yourname/www

use a directory like

/home/yourname/logs

If you don't want to support log files, make this an empty string:

Examples

\$LOGDIR = "/home/mysite/logs";