Contact Form

Attention! You must enter your name.
'; } else if(trim($email) == '') { $error = '
Attention! Please enter a valid email address.
'; // Configuration option. // Remove the // tags below to active phone number. //} else if(!is_numeric($phone)) { // $error = '
Attention! Phone number can only contain digits.
'; } else if(!isEmail($email)) { $error = '
Attention! You have enter an invalid e-mail address, try again.
'; } if(trim($subject) == '') { $error = '
Attention! Please enter a subject.
'; } else if(trim($comments) == '') { $error = '
Attention! Please enter your message.
'; } else if(trim($verify) == '') { $error = '
Attention! Please enter the verification number.
'; } else if(trim($verify) != '4') { $error = '
Attention! The verification number you entered is incorrect.
'; } if($error == '') { if(get_magic_quotes_gpc()) { $comments = stripslashes($comments); } // Configuration option. // Enter the email address that you want to emails to be sent to. // Example $address = "joe.doe@yourdomain.com"; $address = "enio.san@gmail.com"; // Configuration option. // i.e. The standard subject will appear as, "You've been contacted by John Doe." // Example, $e_subject = '$name . ' has contacted you via Your Website.'; $e_subject = 'You\'ve been contacted by ' . $name . '.'; $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers .= 'From: '.$email. "\r\n" . 'Reply-To: enio.san@gmail.com' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); // Configuration option. // You can change this if you feel that you need to. // Developers, you may wish to add more fields to the form, in which case you must be sure to add them here. $e_body = "You have been contacted by $name with regards to $subject, their additional message is as follows.\r\n\n"; $e_content = "\"$comments\"\r\n\n"; // Configuration option. // RIf you active phone number, swap the tags of $e-reply below to include phone number. //$e_reply = "You can contact $name via email, $email or via phone $phone"; $e_reply = "You can contact $name via email, $email"; $msg = $e_body . $e_content . $e_reply; mail($address, $e_subject, $msg, $headers); // Email has sent successfully, echo a success page. echo "
"; echo "

Email Sent Successfully.

"; echo "

Thank you $name, your message has been submitted to us.

"; echo "
"; } } if(!isset($_POST['contactus']) || $error != '') // Do not edit. { ?>
Please fill in the following form to contact us




* Are you human?



Web Design by First Idea Studio