Contact Us "; $year = date("Y"); $subject = "ELEVENCA - CONTACT US"; $ip = $_SERVER['REMOTE_ADDR']; //If the form is submitted if (isset($_POST['submit'])) { $resp = recaptcha_check_answer( RECAPTCHA_PRIVATE_KEY, $_SERVER["REMOTE_ADDR"], $_POST["recaptcha_challenge_field"], $_POST["recaptcha_response_field"] ); if (!$resp->is_valid) { $hasError = true; } //Check to make sure that the name field is not empty if (trim($_POST['contactname']) == '') { $hasError = true; } else { $name = trim($_POST['contactname']); } //Check to make sure that the subject field is not empty if (trim($_POST['company']) == '') { $company = "N/A"; } else { $company = trim($_POST['company']); } //Check to make sure that the subject field is not empty if (trim($_POST['phone']) == '') { $phone = "N/A"; } else { $phone = trim($_POST['phone']); } //Check to make sure sure that a valid email address is submitted if (trim($_POST['email']) == '') { $hasError = true; } else if (!eregi("^[A-Z0-9._%-]+@[A-Z0-9._%-]+\.[A-Z]{2,4}$", trim($_POST['email']))) { $hasError = true; } else { $email = trim($_POST['email']); } //Check to make sure comments were entered if (trim($_POST['message']) == '') { $hasError = true; } else { if (function_exists('stripslashes')) { $message = stripslashes(trim($_POST['message'])); } else { $message = trim($_POST['message']); } } //If there is no error, send the email if (!isset($hasError)) { $to = 'jrcreative@mac.com' . ', '; // multiple recipients vladuma@gmail.com $to .= 'vladuma@gmail.com' . ', '; $to .= 'sales@elevenca.com'; $body = "
Name: $name
Sender IP: $ip
Email: $email
Company: $company
Phone: $phone

Message: $message

Post Dated: $dateform"; $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers .= 'From:ELEVENCA WEBSITE<' . $to . '>' . "\r\n" . 'Reply-To: ' . $email; mail($to, $subject, $body, $headers); $emailSent = true; } } ?> ELEVENCA

Loading...
Usted está aquí:   Inicio || br || p contact.php
Sexta-feira 7 de Fevereiro, 2025

CONTATO

Preencha o formulário abaixo que em breve entraremos em contato: