$value) { $$key=$value; } if(isset($submit_contact)){ $msg = ""; if(trim($name) == ""){ $msg .= 'Please enter your name in the name box.
'; } // if(!eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,4})$", $email)) { if(!preg_match("/^[_\.0-9a-zA-Z-]+@([0-9a-zA-Z][0-9a-zA-Z-]+\.)+[a-zA-Z]{2,6}$/i", $email)){ $msg .= 'Please provide a valid email.
'; } if(trim($phone) == ""){ $msg .= 'Enter a phone number for us to contact you.
'; } if($department == "Tech Support" ){ $support_selected = "selected='selected'"; $support_email = "support@compucert.com"; } else { $support_email = "service@compucert.com"; } if($msg != ""){ $msg = '

' . $msg . '

'; } else { //send email notification and put to db $action_date = date("Y-m-d H:i:s"); $query_addContact = "INSERT INTO tbl_contact (name,email,phone,department,comment,action_date,status) VALUES ('". $name . "','$email','" . $phone . "','$department','" . $comment . "','$action_date',1)"; $result = $cartweaver->db->executeQuery($query_addContact); if($result){ $strSubject = "Compucert " . $department; $strMessage = "Thank you for your inquiry. We will be in touch with you shortly.\r\n\r\nRegards,\r\nCompucert Customer Service\r\n(888) 415-0575"; $strMailFrom = 'From: '. $support_email . "\r\n" .'Reply-To: '. $support_email . "\r\n"; mail($email,$strSubject,$strMessage,$strMailFrom); $strMessage = "Name: $name\r\nPhone: $phone\r\nComment: $comment\r\n"; $strMailFrom = 'From: '. $email . "\r\n" .'Reply-To: '. $email . "\r\n"; mail($support_email,$strSubject,$strMessage,$strMailFrom); $msg = '

Your Inquiry has been submitted. We will be in contact with you shortly.

'; $name = ""; $phone = ""; $email = ""; $support_selected = ""; $comment = ""; } else { $msg = '

We apologize that we cannot submit your inquiry at this time. Please call support for assistance.

'; } } } else { $msg = '

For quickest response contact us using the form below.

'; } ?> Contact Us | CompuCert

Contact Us

Need assistance? Please don't hesitate to contact us if we can help answer any questions you may have.


Compucert training consultants are available from Monday - Friday 10 a.m. - 8 p.m. EST. All Orders will be shipped via FedEx (for domestic shipping) DHL (for international shipping) on or within the next business day. Tracking information will be forwarded to you as soon as it becomes available. Orders can be tracked via www.fedex.com/us or http://www.dhl-usa.com

Name
*
Email
*
Phone
*
Department

Comment


Compucert LLC
2591 Dallas Parkway
Suite 300
Frisco, TX 75034
Ph: (972) 377-0074 ext. 3256