PDA

View Full Version : Aiee!


0Divide
01-13-2003, 08:11 PM
Hey, I'm sorta new to perl/cgi. I'm trying to make a form that will e-mail me. I put the following code onto the page, copied from the DNS provider:

<FORM METHOD="POST" ACTION="http://www.helpnorthwest.com/bin/formmail.pl">
<INPUT TYPE="hidden" NAME="recipient" VALUE="webmaster@helpnorthwest.com">
<INPUT TYPE="hidden" NAME="subject" VALUE="subject">
<INPUT TYPE="hidden" NAME="redirect" VALUE="http://helpnorthwest.com/page.htm">
<INPUT TYPE="hidden" NAME="required" VALUE="realname,email">
<TABLE>
<TR><TD>Enter Your Name:</TD><TD><INPUT TYPE="text" NAME="realname"></TD></TR>
<TR><TD>Enter Your Email Address:</TD><TD><INPUT TYPE="text" NAME="email"></TD></TR>
<TR VALIGN="top"><TD>How can I help you?:</TD><TD><TEXTAREA NAME="message" ROWS="5" WRAP></TEXTAREA></TD></TR>
<TR><TD></TD><TD><INPUT TYPE="Submit" VALUE="Send my message!"></TD></TR>
</TABLE>
</FORM>

However, I don't have the object "formmail.pl", and I don't know where/what it is. Anyone have any ideas? The URL for the page is http://www.helpnorthwest.com/webmaster.html. Before anyone jumps on me for the sloppy html, that was _not_ my doing.

WA
01-13-2003, 10:55 PM
Hi:
Please read our posting guidelines on the choice of a subject for your thread: http://www.codingforums.com/postguide.htm

Regarding your question, basically you need a form processing cgi script for the task. formmail.pl is simply one of such numerous scripts. Check here: http://cgi-resources.com/Programs_and_Scripts/Perl/Form_Processing/

0Divide
01-14-2003, 10:10 PM
Thank you, and sorry about the subject.