|
eForm & FormMail
eform.pl
To get a copy of eform.pl, click here.
You will probably not require this software since it is
already in your cgi-bin directory. If you require us to
install this for you please contact us.
The purpose behind a form is to collect data, and eform.pl
allows you to do that and be versatile as well. Required
fields to make your form work are simple.
Required Fields:
Field: recipient
Description: The recipient is the receiver (or receiver's
e-mail address) of the information from
the form.
Your code will look similar to the following:
<!-- code begins here --> <form action="/cgi-bin/eform.pl" method="POST"> <input type="hidden" name="recipient" value="email@domain.com"> Your comments:<br> <textarea wrap=physical name="comments" rows=8 cols=50></textarea><p> <input type="submit" value="Send comments" name="submit"> <input type="reset" value="Clear" name="reset"><p> </form><p> <!-- code ends here -->name=recipient>
In the case of eform.pl, the recipient's email address must
come from the same server as the location
of the script.
For example, if your domain is http://domain2.com, your
email address must be
emailwhoever@domain2.com.
It cannot be emailwhoever@domain3.com. This is designed to
avoid possible mis-use of the feature by
those might try to compromise your server security. You
cannot use more than one email address. If you
desire more than person to receive the messages, you must
got to your Cpanel and create a mailing list.
More Detail
Instructions here.
Can I use FormMail rather than
fmail on the secure server?
FormMail.pl is no longer acceptable for use on
our servers
due to its vulnerability to exploit. CyberSync has created a more
secure version of this script, called eform.pl. It allows
much of the same functionality as FormMail, while
eliminating the exploits present in the freely available
script.
The changes added to the new script include the following:
1. The @referrers array is no longer hard coded into the
script. It is now populated only by domains physically
present on your virtual server.
2. The @recipients array is populated based on the contents
of the @referrers array, and thus only allows mail to a
domain present on your virtual server.
3. The script only allows mail to a single address per form.
Thus, forms which are to be sent to multiple recipients will
require the creation of a mailing list alias, which should
include all addresses to which the mail should be sent. The
form should then be directed to send to the alias.
Please note that this is the ONLY version of FormMail which
will be allowed on our servers. Any standard versions of
this script that are found on our servers from here forward
will be removed.
|