is_valid) { // What happens when the CAPTCHA was entered incorrectly die ("The reCAPTCHA wasn't entered correctly. Go back and try it again." . "(reCAPTCHA said: " . $resp->error . ")"); } else { // Your code here to handle a successful verification } //need to process the form $headers = "MIME-Version: 1.0\n" . "Content-Type: text/plain\n" . "From: ECN Feedback\n" . "X-Priority: 3\n" . "X-MSMail-Priority: Normal\n" . "X-Mailer: PHP"; $subject = "E-ChannelNews Sales Inquiry"; $body = "Someone has just filled in the E-ChannelNews Advertising form with the following information:\n\n" . "Name: $firstName $lastName\n" . "Company: $company\n" . "Address: $address\n" . "City/prov/postal: $city, $prov $postalcode\n" . "Country: $country\n\n" . "Phone: $phone\n" . "Email: $email\n\n" . "Would like to do the following:\n"; if (isset($banner)) { $body .= "$banner\n"; } if (isset($eblast)) { $body .= "$eblast\n"; } if (isset($emmercial)) { $body .= "$emmercial\n"; } if (isset($info)) { $body .= "$info\n"; } if (isset($speak)) { $body .= "$speak\n"; } if (isset($subscribe)) { $body .= "$subscribe\n"; } if (isset($ecntv)) { $body .= "$ecntv\n"; } if (isset($ecntvbanner)) { $body .= "$ecntvbanner\n"; } if (isset($timeframe)) { $body .= "\ninterested in advertising:\n"; $body .= "$timeframe\n"; } if (isset($duration)) { $body .= "\nDuration:\n"; $body .= "$duration\n"; } $body .= "\nActions to take:\n"; if (isset($contactme)) { $body .= "$contactme\n"; } if (isset($sendproposal)) { $body .= "$sendproposal\n"; } if (isset($sendcontract)) { $body .= "$sendcontract"; } $body .= "\n\nTabbed Information Follows:\n"; $body .= "$firstName\t$lastName\t$company\t$address\t$city\t$prov\t$postalcode\t$country\t$phone\t$email\t$banner\t$eblast\t$emmercial\t$info\t$speak\t$subscribe\t$timeframe\t$duration\t$contactme\t$sendproposal\t$sendcontract\n"; mail ('sales@technoplanet.com',$subject,$body,$headers); echo "

Thank you $firstName $lastName

\n"; echo "

We have received your request and will respond shortly

"; if (isset($subscribe)) { echo "

Confirm Your Subscription

\n"; echo "
\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; } } else { //display the form... ?>

Advertise in E-ChannelNews.com and/or ecnTV

First Name A value is required.
Last Name A value is required.
Company
Address
City
State/Prov Zip/Postal Code
Country
Phone Number A value is required.
Email Address A value is required.Invalid format.
 

I would like to:

 






 

When are you interested in advertising?




 

Campaign running time




 

Action to take