Last Updated: January 21, 2000
To install the formmail.pl script, telnet to your Virtual Server and do the following:
% cd (this will put you in your home directory) % tar -xvf /usr/local/contrib/formmail.tar % chmod 755 www/cgi-bin/formmail.pl
This will install two files, formmail.pl and formmail.README.txt, into your ~/www/cgi-bin directory and make the FormMail script an executable file.
For example, the HTML source for your form may look like this:
<form method="POST" action="/cgi-bin/formmail.pl"> <input type="hidden" name="recipient" value="order@yourdomain.com"> <input type="hidden" name="subject" value="Order Request"> Please Enter Your Name:<br> <input name="realname" size="40"> <p> Please Enter Your Email Address:<br> <input name="username" size="40"> <p> Please Enter The $$$ Amount:<br> <input name="amount" size="40"> <p> . . . <input type="submit" value="Submit"> <input type="reset" value="Reset"> </form>
@referers=('YOUR-DOMAIN.NAME','YOUR.IP.ADDR.ESS');
Substitute your domain name and Virtual Server IP address for the values YOUR-DOMAIN.NAME and YOUR.IP.ADDR.ESS respectively.
Copyright © 1996-2000, Last Modified: 21 January 2000A Little Technology Shoppe LLC. All rights reserved. All brand names and product names used on these web pages are trademarks, or trade names of their respective holders.