ADDING A FORM TO YOUR WEB SITE
Here is a sample form. Feel free to install your own form script in your cgi-bin but if you want to use ours this is a sample of a form to email you can insert this code into your page all you have to change is the bold areas.
The form will get sent to your email address you specify below.
Test it out!

 
 

1) Get the cgi script, FormMail, Here.

2)
Edit the script. Only two variables need to be changed.
Change $mailprog = to '/usr/sbin/sendmail'

and change @referers to 'www.YourDomainName.com','YourDomainName.com' .

3)
Place the script in your cgi-bin and chmod it to 755.
To chmod a script with CuteFTP just right click and change file attributes.

4) Make a HTML Form and upload it to your directory (not the cgi-bin)
 

Below is a sample form.

<P><FORM ACTION="/cgi-bin/FormMail2.pl" METHOD=POST><INPUT type=hidden name="recipient" value="YourEmailAdderssHere">

<P><INPUT TYPE=hidden name="subject" value="EnterYourSubjectHere">
<BR><INPUT TYPE="text" NAME="Login" SIZE="20">
<BR><INPUT TYPE="text" NAME="Password" SIZE="20">
 <P><INPUT TYPE="SUBMIT" VALUE="Send">
<BR></FORM>