is_valid) { send_mail($mailto); # in a real application, you should send an email, create an account, etc } else { # set the error code so that we can display it. You could also use # die ("reCAPTCHA failed"), but using the error message is # more user friendly $error = $resp->error; } } echo recaptcha_get_html($publickey, $error); } function send_mail($address) { echo "

sending email

"; $name=$_POST['name']; $email1=$_POST['email1']; $phone=$_POST['phone']; $street=$_POST['street']; $city=$_POST['city']; $zip=$_POST['zip']; $comments=$_POST['comments']; $message=" Name : $name\n Email : $email1\n Phone : $phone\n Address Information \n Street : $street\n City : $city\n Zip : $zip\n Comments : $comments"; $message = $header . $message; mail( $address, "Form Results", $message ); } ?> Amp Industries
Amp Industries - For all your electrical needs
(805) 458-3118
Name:
Email:
Phone:
Street:
City:
Zip:
Comments:
Prove you are human, enter the text below: