Home

   Home

   Download


Help

   FAQ

   Installation

   Message Board

   Importing Data File
   Into GoldMine
   Into Act

   Readme Files
   V1.5,  V1.9,  V2.0

   Related Scripts


Other

   Testimonies

   Donate

   Advertising Info

   Inspirational E-mail's

   Custom Programming


Related Scripts

Novice Form Processor
  In Perl/CGI
  In PHP
BMF in PHP
  Form To File

































 




A R C H I V E D     M E S S A G E

  Subject: Form w/ attached files
  Posted: 07/13/2003 at 1:05:22 pm
  By: Fernando Marés

How can the form be sent with the feedback plus an attached file, like a photo or a doc? Does the script suport the encode multipart tag? Thanks.



  Subject: Re: Form w/ attached files
  Posted: 07/22/2003 at 1:05:33 pm
  By: Seth Knorr

To attach a file you need to configure this in the bizmail.cgi script. Right now however it is not very complex on letting you attach a different file for each form. To do this for now until it is built into an update version simply use another instance of the bizmail.cgi script on your server.

To configure the attachment edit the lines in the bizmail.cgi as seen below:

$attachment_nm = "file.txt";
## file name of attachement ##

$att_path = "/path/to/$attachment_nm";
## Path to file attachement##

$att_format = ".txt";

.txt would be the file format if attaching a picture like a gif this should be

$att_format = ".gif";

etc...

Seth





Copyright 2000-2004 Seth M. Knorr,
BizMailForm.com Forms Processor, All Rights Reserved






Heart House Community Church, Clermont FL