Contact Form Processing Products - for all your needs

FormMail • Form Encryption • Hosted Forms

CSVDIR Setting

Type Of Setting

CSVDIR 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

Sets the directory/folder for CSV files.

Description

Set CSVDIR to the directory on your server where CSV files are stored.

When the form provides a 'csvfile' 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/csv

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

Examples

\$CSVDIR = "/home/mysite/csvdir";