Online Chat
 Call Us: 
1-877-744-1221
Browse Submit a Ticket
 
Advanced Search
Tools
Rss Categories

File Output

Author: Eileen Wilde Reference Number: AA-00158 Views: 8774 Last Updated: 10/20/2009 08:34 AM 0 Rating/ Voters

Besides creating page output, you may output any file stored on your server. Use action ‘file' instead of ‘page'. This is very useful  if you want to gather any information prior to allowing the downloading of a certain file.

Example of config.php:

page = ../index.html
page = ../preview.html
file = /usr/home/secured/area/secretfile.zip

In the example above, Form Processor Pro will output the file secretfile.zip after the preview page.