Download Perl Scripts

Intelliscript Submit Form Mailer 70108Intelliscript Submit Form Mailer - $0.00 Version 70108
Add to Cart

RSS Feed

Submit Form Mailer by
(c) 2000-2007 Jason Silver


Submit Form Mailer allows you to quickly and easily set up
a form processor on your site which will mail you the results
of form submissions.

Report any bugs or improvement suggestions to

Jason Silver


How It Works:

Upload the script to your cgi-bin, and then point a form's action
tag to the URL of this script.

Installation Overview:
1. Set some options at the beginning of the scripts
2. Use FTP to upload the files
4. Set exectute permissions on the Perl script, and write permissions on the
text files
4. Test the script

Here's How!

1. Using a text editor like textpad, or notepad, open the .pl file(s)
Change the path to perl so that it's
configured for your server.
It's usually:

2. Change the variables at the top of the script, including your header and footer html.

For example,

$emailprog = '/usr/sbin/sendmail'; # the location of sendmail on your Unix/Linux server
$admin_email = ''; # your email address- form submissions will go here
$antispam_password = 948722; # a six character random number - to discourage spamming your form

3. Open the form file you've made (or see our exampleform.shtml) and set
the action tag of the form to point to your script, wherever you may have put it or renamed it.

For example,
<form method=post action=""> (full url)
<form method=post action="/cgi-bin/"> (relative path)
<form method=post action="/forms/formprocessor.cgi"> (renamed script, not in cgi-bin)

A form can only be submitted to this form-processing-script if it contains the password, which
is related to the current time of day. This discourages spammers from sending you email through
your form from their own servers, since their forms won't contain the password.
To insert the password in your forms, the html page on which the form exists must be able to
process a server side include (SSI). Insert the following code within the form tags on your html
page to have the password inserted automatically:

<!--include virtual="/cgi-bin/"-->

This will insert a hidden field in your form which contains the passkey. If it is not being
inserted automatically, try changing the extension of your form from .html or .htm to .shtml,
which is the special extension for SSI's.

To validate the form on submission, to make sure that fields are not left empty, take a look
at the JavaScript in the exampleform.shtml. Make modifcations to that JavaScript as necessary.
There are notes on each line of the JavaScript, explaining how it works. It's not hard. :)

4. Use an FTP program like WS_FTP or CuteFTP (just some examples I'm aware of)
and upload the files to your server's cgi-bin.

5. Set permissions (CHMOD): file: 755


6. From a browser, open the exampleform.shtml file, or your own form and try submitting it.

As always, let me know of problems, questions, or requests for features.
Jason Silver


top next download purchase xml pad file RSS Syndication OPML List - All Programs


FileCABINET Script - Create a File Download section on your site.

In the Spotlight

COTCHA $0.00
Add to Cart
 COTCHA is an acronym for Coded Objective to Tell Computers and Humans Apart. Similar to the CAPTCHA scheme, this script can be integrated into any pre-existing web form and/or perl script to add an extra element of spam protection.
[more & download links]

What People Say

AutoFollowup $5
Add to Cart I was up until 4:00 am this morning (PST) reading through the Help section. I did have many questions answered. I really love this program! I am very excited about getting it fully functional.
Thanks again Jason.
[more & download links]

Post Page Comment