Contact

Home > Website Packages
Thank you for your interest in Webztel Technologies and our services. Please submit your project details using the form below or e-mail us at webztel@gmail.com and we will get back to you promptly regarding your request. "; //var_dump($_POST); //exit; $fname=$_POST['fname']; $phone=$_POST['phone']; $email=$_POST['email']; //$enquiry=$_POST['enquiry']; //$feedback=$_POST['feedback']; if(empty($fname) || empty($email) || empty($feedback) || empty($phone) || empty($enquiry)) { $error="Please enter all the fields"; } elseif(!filter_var($email, FILTER_VALIDATE_EMAIL)) { $error="Please enter proper email "; } /* Special Character Validation */ elseif(!preg_match("/^[a-zA-Z -]+$/",$fname)) { $error="No special Characters are allouwed in name"; } elseif(!preg_match("/^[0-9 -]+$/",$phone)) { $error="Enter a proper phone number"; } else { $message = ''; $message .= 'Hi Admin,

'; $message .= 'New contact enquiry detail below:-

'; $message .= ''; $message .= ""; $message .= ""; $message .= ""; $message .= ""; $message .= ""; $message .= "
Name: " .$fname. "
Email: " .$email. "
Contact number: " .$phone. "
Enquiry: " .$enquiry. "
Feedback: " .$feedback. "

"; $message .= "Thanks regard.
Web Werks team
"; $message .= 'web-werks'; $message .= ""; // CHANGE THE BELOW VARIABLES TO YOUR NEEDS $to = 'suyog.raut@wwindia.com'; $subject = 'Contact Form'; $headers = "From: " . $email . "\r\n"; $headers .= "Reply-To: ".$to. "\r\n"; $headers .= "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n"; if (mail($to, $subject, $message, $headers)) { echo $success= "Thanks for contacting us"; } else { echo 'There was a problem sending the email.'; } } } ?>
  • Name
  • :
  • Email Id
  • :
  • Contact No
  • :
  • Enquiry
  • :
  • Feedback
  • :