

|


Online
Manual / Configuration
Files / Logging form
results to a flat file database.
Command:
logInfo
Usage:
Allows
you to log form results into a text file such as a Microsoft Excel .csv
file. Below is an example on how to log form results into a Microsoft
Excel .csv file.
Arguments:
- page="<form
page number>"
Specify the form page number to tell the script when to execute the
command. This command will apply after the form is submitted on this
form page.
- file="<location>"
This is the location of the file where the text specified in string
will be stored.
- string="<text>"
This is the text string that will be stored at the last line of the
file specified.
Example:
| logInfo file="/home/allibsus/public_html/mailpro/logInfo.csv"
string='"[output type='date' format='l dS of F Y h:i:s A']","[output
name='First Name']","[output name='Last Name']","[output
name='E-mail']","[output name='Comments']"' |
This example shows how to log the form results for First Name, Last
Name, E-mail, and Comments. We also timestamped the form results which
you can find more information about the date <output> by clicking
here.
|