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

I want to allow file download just after form submission. How can I do that?

Author: Eileen Wilde Reference Number: AA-00185 Views: 4625 Last Updated: 08/11/2009 08:25 AM 0 Rating/ Voters

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

Example in 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.