Here's the code for the page the captcha is on.
<script type= "text/javascript">
var RecaptchaOptions = {
theme: 'white'
};
</script>
<?php print_header("Hand in Hand"); ?>
<?php /*main div created in print_header now*/ ?>
<p> Nevada PEP has implemented a statewide
community recognition award
program. "Hand in Hand, Together We Can" will
recognize those individuals
who have made a positive difference in the lives
of children with
disabilities. We are asking you to help us
recognize these special
people and their outstanding efforts by submitting
a nomination. You
may nominate a teacher, professional, therapist,
family member or someone
whose efforts have had a positive impact on that
child's life. All
nominees will be honored with a uniquely designed
lapel pin and a
certificate of recognition. Their "story" will be
featured in our
quarterly newsletter, as well as appear in Nevada
Pep's annual "Hand
in Hand" Yearbook. Please limit your entries to
ONE nominee per form and
no more than three nominations a year, per
family. Remember to limit
each story to one hundred words or less.</p>
<p class="transparent"><a href="#nominate">To
Nominate A Special Person</a></p>
<p class="transparent"><a href="template.php?
page=hinhsponsors">To Become A Sponsor</p>
<p class="transparent"><a href="template.php?
page=stories">The Stories of the Hand in Hand Award Recipients</a></p>
<br /><br />
<p>Please Submit your honoree with all of the
following information:</p>
<form name="hand in hand nomination" id="nominate"
method="post" action="hinh_nom_form.php">
<fieldset><legend>Your Information</legend>
<label for="name">Your Name</label>
<input type="text" name="Name" id="name"
size="56" value="Enter your name here" />
<br /><br />
<label for="address">Your Address</label>
<input type="text" name="Address" id="address"
size="54" value="Enter your home address here" />
<br /><br />
<label for="city">City</label>
<input type="text" name="City" id="city"
size="31" value="Enter your city here" />
 
<label for="state">State</label>
<input type="text" name="State" id="state"
size="2" maxlength="2" value="NV" />
 
<label for="zip">Zip</label>
<input type="text" name="Zip" id="zip" size="10"
value="zip code" />
<br /><br />
<label for="email">Your Email</label>
<input type="text" name="Email" id="email"
size="57" value="Enter your email address here" />
<br /><br />
<label for="home_phone">Home Phone</label>
<label for="home_area"> ( <input type="text"
name="Home_area" id="home_area" size="3" maxlength="3" value="702" /
> ) </label>
<input type="text" name="Home_phone"
id="home_phone" size="8" maxlength="8" value="home #" />
 
<label for="work_phone">Work Phone</label>
<label for="work_area"> ( <input type="text"
name="Work_area" id="work_area" size="3" maxlength="3" value="702" /
> ) </label>
<input type="text" name="Work_phone"
id="work_phone" size="8" maxlength="8" value="work #" />
</fieldset>
<br /><br />
<fieldset><legend>Honoree's Information</legend>
<label for="nom_name">Honoree's Name</label>
<input type="text" name="nom_Name" id="nom_name"
size="51" value="Enter honoree's name here" />
<br /><br />
<label for="nom_address">Honoree's Address</
label>
<input type="text" name="nom_Address"
id="nom_address" size="49" value="Enter honoree's address here" />
<br /><br />
<label for="nom_city">City</label>
<input type="text" name="nom_City" id="nom_city"
size="31" value="Enter honoree's city here" />
 
<label for="nom_state">State</label>
<input type="text" name="nom_State"
id="nom_state" size="2" maxlength="2" value="NV" />
 
<label for="nom_zip">Zip</label>
<input type="text" name="nom_Zip" id="nom_zip"
size="10" value="zip code" />
<br /><br />
<label for="nom_email">Honoree's Email</label>
<input type="text" name="nom_Email"
id="nom_email" size="52" value="Enter honoree's email here" />
<br /><br />
<label for="nom_home_phone">Home phone</label>
<label for="nom_home_area"> ( <input type="text"
name="nom_Home_area" id="nom_home_area" size="3" maxlength="3"
value="702" /> ) </label>
<input type="text" name="nom_Home_phone"
id="nom_home_phone" size="8" maxlength="8" value="home #" />
 
<label for="nom_work_phone">Work Phone</label>
<label for="nom_work_area"> ( <input type="text"
name="nom_Work_area" id="nom_work_area" size="3" maxlength="3"
value="702" /> ) </label>
<input type="text" name="nom_Work_phone"
id="nom_work_phone" size="8" maxlength="8" value="work #" />
</fieldset>
<br /><br />
<fieldset><legend>Your Story</legend>
I grant Nevada PEP permission to use my name and
print my story<br />
<input type="radio" name="Permission"
id="yes_permission" value="Yes" checked="checked" />
<label for="yes_permission">Yes</label>
<input type="radio" name="Permission"
id="no_permission" value="No" />
<label for="no_permission">No</label>
<br /><br />
<label for="story">Your story about this person
in one hundred (100) words or less:</label><br />
<textarea name="Story" id="story" rows="20"
cols="52">Please enter your story here.</textarea>
</fieldset>
<?php
require_once('recaptchalib.php');
// Get a key from
http://recaptcha.net/api/getkey
$publickey = "6LePOgYAAAAAABCcD7PQ9BeK-A4GzBaGhntZcNQB";
$privatekey = "6LePOgYAAAAAAEqkkFtK0i6USgMrgsgkdSGVvm0p";
# the response from reCAPTCHA
$resp = null;
# the error code from reCAPTCHA, if any
$error = null;
# was there a reCAPTCHA response?
if ($_POST["recaptcha_response_field"]) {
$resp = recaptcha_check_answer ($privatekey,
$_SERVER["REMOTE_ADDR"],
$_POST
["recaptcha_challenge_field"],
$_POST
["recaptcha_response_field"]);
if ($resp->is_valid) {
echo "You got it!";
} else {
# set the error code so that we can display it
$error = $resp->error;
}
}
echo recaptcha_get_html($publickey, $error);
?>
<p class="transparent" align="center">
<input type="submit" name="Submit"
value="Submit" />
<input type="reset" name="Reset" value="Reset" /
>
</p>
</form>