Click to See Complete Forum and Search --> : cgi scripts not working


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:
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<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>
&nbsp;
<input type="submit" value=" [ send ] ">
</p>
</div>
</form>

LeeU
09-07-2006, 09:35 AM
Try this (http://www.thesitewizard.com/archive/servererror.shtml).

CyCo
09-07-2006, 05:04 PM
Seems to be working now, @ this location (http://www.ltdesignz.com/windowwiz/ContactUs.htm).