Board index Linux Installation Stuffs

Moderator: chandranjoy

Formmail script and contactus html form

Postby chandranjoy » Fri Mar 25, 2011 4:13 pm

Download formmail.pl script from here
http://www.scriptarchive.com/download.c ... mMail%2Epl


Contactus form html code:
http://support.tigertech.net/formmail
<form action="http://www.example.com/cgi-bin/FormMail.pl"
method="POST" enctype="application/x-www-form-urlencoded">
<input type="hidden" name="recipient" value="yourmail@yourdomain.com">
#<input type="hidden" name="recipient" value="webmaster">
<input type="hidden" name="subject" value="example.com Feedback Form">
<input type="hidden" name="required" value="realname,email">

<!--
The hidden "redirect" and "missing_fields_redirect" items
are optional.
-->
<input type="hidden" name="redirect"
value="http://www.example.com/form-submitted.html">
<input type="hidden" name="missing_fields_redirect"
value="http://www.example.com/form-missing-fields.html">

Your Name:
<input type="text" name="realname">

Your E-Mail Address:
<input type="text" name="email">

Number of Tigers You Own:
<select name="tigers">
<option selected value"0">None
<option value="1">One
<option value="2">Two
<option value="More than Two">More than Two
</select>

Comments:
<textarea name="comments" rows="3" cols="40"></textarea>

<input type="submit" value="Submit">

</form>
chandranjoy
Site Admin
 
Posts: 283
Joined: Fri Oct 23, 2009 11:19 pm

Return to Installation Stuffs

Who is online

Users browsing this forum: No registered users and 1 guest


cron