Online Chat
 Call Us: 
Browse Submit a Ticket
Advanced Search
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: 7678 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/

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