Location: PHPKode > scripts > Free PHP Form 2 Email Processor > free-php-form-2-email-processor/form-example.php
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

	<title>Form Example</title>


<h2>Form Example</h2>

<p><span style="color:red">* Make sure to change the hidden <b>to</b> field to your email address before submitting.</span>

<form method="post" action="form2email.php">
<input type="hidden" name="to" value="hide@address.com">
<input type="hidden" name="subject" value="Website Feedback">
<input type="hidden" name="redirect" value="http://www.yourdomain.com/thanks.html">
<input type="hidden" name="name_reqd">
<input type="hidden" name="email_reqd">
<input type="hidden" name="message_reqd">
<p>Name: <input type="text" name="name">
<p>Email: <input type="text" name="email">
<p><textarea cols="50" rows="5" name="message"></textarea>


// reCAPTCHA code (optional)
var RecaptchaOptions = {
   theme : 'clean',
   tabindex : 4


// If you want to use reCAPTCHA to prevent spam your form page will need 
// a .php extension and include the code below where you want your reCAPTCHA
// form. Copy and paste your reCAPTCHA pulib key into the variable below.
// e.g. $publickey = "Ff4tlkj0949JKgg5wtGWEBss6pgjUnt6nsdkEI";

$publickey = "";
echo recaptcha_get_html($publickey);

<p><input type="submit" value="Send Feedback">

Return current item: Free PHP Form 2 Email Processor