Matt UK Formmail INSTRUCTIONS:
This sample form includes file uploading fields and multiple mail recipients. FOR ADVANCED USERS ONLY. We have tested this script and verified that it is working, however, no support is provided by Allwebco Design.
- Download the "mattfm.cgi" script from one of these 2 sites:
mattsscripts.co.uk ...or... Formmail Support
- In the "mattfm.cgi" edit the "my @referers" line. The code to edit is:
my @referers = ('www.mattsscripts.co.uk','mattsscripts.co.uk');
- Edit the "my $smtp" line. The code to edit is:
my $smtp = 'mattsscripts.co.uk';
- Upload "mattfm.cgi" to your cgi-bin. CHMOD this file with 755.
- View the source of this page to see how the input fields are setup. You can copy this code into your contact HTML page. Edit "your-web-domain.com" in this sample with your domain name in all places.
- Create and upload a "formsent.htm" and a "formerror.htm".
- Be sure to upload the contact page to test. You can not test from your computer hard drive.
- Although we were able to get the file attachment feature to work, we were unable to get the multiple recipients to work. You can usually setup multiple recipients in your hosting control panel and may not need this form feature.
- See the notes at the top of the "mattfm.cgi" for options and setup info.
|