An ISO 9001:2015 Certified Company
An ISO 9001:2015 Certified Company

Contact Us

Plot No. 82/A, New Industrial Estate, Near Pani Tanki, B/H Alidhara Office, Road No 6, opp. Udhana Profile, Udhna Udhyog Nagar, Udhna, Surat, Gujarat 394210.

Get In Touch

addValidation("name","req","Please fill in Name"); $validator->addValidation("phone","req","Please fill in Phone"); $validator->addValidation("email","req","Please fill in Email and a valid email address"); $validator->addValidation("email","email","The input for Email should be a valid email address"); $validator->addValidation("img_code","code","Security code is not matching ! Try again."); $custom_validator = new MyValidator(); $validator->AddCustomValidator($custom_validator); if($validator->ValidateForm()) { // Send email to client $message = ' Name= '.$_POST['name'].' Tel= '.$_POST['phone'].' E-mail= '.$_POST['email'].' Query= '.$_POST['query'].' '; //print $message;die; $to = 'creativeengineering198@gmail.com'; $subject = 'Inquiry from creativeautomate.com '; $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/plain; charset=iso-8859-1' . "\r\n"; //***********************************************************************************************// $headers .= 'From: '.$_POST['name']. " " .$_POST['email'].'' . "\r\n"; //Put Email contactform@yourdomain.com here and Put name here //***********************************************************************************************/ $headers .= 'Reply-To: '.$_POST['email'].'' . "\r\n" ; mail($to, $subject, $message, $headers); // Remove all data from session unset($_SESSION['name']); unset($_SESSION['phone']); unset($_SESSION['email']); unset($_SESSION['query']); $show_form= false; // redirect page ?>

 

Thank you

Your detail has been submitted successfully.

We will get back to you shortly

You can feel free to contact us

GetErrors(); $error.=""; foreach($error_hash as $inpname => $inp_err) { if($inpname=="name") { $nameerror = $inp_err; } if($inpname=="phone") { $phoneerror = $inp_err; } if($inpname=="email") { $emailerror = $inp_err; } if($inpname=="query") { $queryerror = $inp_err; } if($inpname=="img_code") { $codeerror = $inp_err; } } ?>

See error below


See error below