LT0012
09-07-2006, 08:54 AM
I am really hoping that someone can help me with the set up of this script. I am just learning cgi/perl so please have some patience. I am trying to set up a simple contact form in html and have the information forwarded to an email upon submit. Below is my HTML code, the cgi script that I am using is attached. I am getting a 500 Internal Server Error when you hit submit. Thank you for your help!!
www.ltdesignz.com/windowwiz/contactus.htm
HTML form:
<form name="form1" method="post" action="/cgi-bin/form2email.cgi">
<div align="center">
<p>Name:
<input type="text" name="textfield">
</p>
<p>Email Address:
<input type="text" name="textfield">
</p>
<p>
<textarea name="textfield" cols="50" rows="8">Please type your message here...</textarea>
<input type="submit" value=" [ send ] ">
</p>
</div>
</form>
www.ltdesignz.com/windowwiz/contactus.htm
HTML form:
<form name="form1" method="post" action="/cgi-bin/form2email.cgi">
<div align="center">
<p>Name:
<input type="text" name="textfield">
</p>
<p>Email Address:
<input type="text" name="textfield">
</p>
<p>
<textarea name="textfield" cols="50" rows="8">Please type your message here...</textarea>
<input type="submit" value=" [ send ] ">
</p>
</div>
</form>