DCForms 98
dcforms98.cgi
Download this file, rename its extension from .txt to .cgi and edit these:
-
The correct path to your Perl interpreter
#! /usr/local/bin/perl
-
The location of your mail program
$mailprog = '/usr/lib/sendmail';
-
Location where your database file will be kept
$datadir = "../data";
-
Your domain name to ensure that form is submitted from your server
$url = "www.wildboar.net";
Upload dcforms98.cgi to your cgi-bin & chmod to 755!
Create empty directory named data & chmod to 777!
Save dcforms98.html and edit the following hidden variables:
- param_recipient - e-mail addresses of recipient(s), each delimited by a comma
- param_subject - subject line of e-mail (spaces are okay)
- param_env_report - if you wish to record some environment variables, list them here
- param_order - order of fields (case-sensitive), leaving it blank sorts them by names
- param_database - name of data file to save form data to (will be created by script)
- param_required - required fields
Form sends e-mail to webmaster and saves data to text file on server.