true,"lbl"=>"First name"); $meta["last_name"]= array("r"=>true,"lbl"=>"Last name"); $meta["company"]= array("r"=>true,"lbl"=>"Company"); $meta["address"]= array("r"=>true,"lbl"=>"Address"); $meta["city"]= array("r"=>false,"lbl"=>"City"); $meta["state"]= array("r"=>false, "lbl"=>"State"); $meta["country"]= array("r"=>true, "lbl"=>"Country"); $meta["zip"]= array("r"=>true,"lbl"=>"Zip code"); $meta["phone"]= array("r"=>true,"lbl"=>"Phone"); $meta["fax"]= array("r"=>false,"lbl"=>"FAX"); $meta["liame"]= array("r"=>true,"lbl"=>"Email", 'regex'=>"/^.{1,60}@[^@]{1,60}$/"); $meta["web"]= array("r"=>false,"lbl"=>"Web address"); $meta["contact"]= array("r"=>false,"lbl"=>"Preferred contact method"); $meta["comments"]= array("r"=>false,"lbl"=>"Comments/Suggestions"); if($_REQUEST["process"]){ foreach($_REQUEST as $k=>$v){ $data[$k] = htmlspecialchars($v); } foreach($meta as $k=>$m){ if($m["r"] && empty($data[$k])){ $errors[] = "Please supply your " . $m["lbl"] . "."; $error = true; } if(!empty($data[$k]) && !empty($m['regex'])){ if(!preg_match($m['regex'],$data[$k])){ $error = true; $errors[] = $m["lbl"] . ' is invalid.'; } } if($m["codes"]){ $theVar = $m["codes"]; $theArray = $$theVar; $val = $theArray[$_REQUEST[$k]]; } else{ $val = $_REQUEST[$k]; } $info[] = sprintf("%20s: %-s",$m["lbl"],$val); } if(!$error){ $success = true; $msg = "The following comments were submitted through the Azcoat website:\n\n"; $msg .= implode("\n",$info); //print("
$msg
"); mail($ADMINS, $SUBJECT, $msg, "From: Azcoat.com \r\n"); $data = array(); } } ?> AzCoat • Your Printing Topcoat and Adhesive Expert

 

Attention: Before the information you entered can be submitted, you need to fix some problems. Please fix the following problems and submit again. Thanks!
$msg"); } ?>

Your information has been submitted successfully. Thank you! We'll respond as soon as possible.

 

CONTACT US:

Thank you for your interest in contacting AzCoat Inc. Please fill out the form below if you have comments, suggestions or would like to be contacted and a member our staff will promptly read and service your request. If you wish, you can call or e-mail AzCoat at:
Direct: 1-480-596-9648
Toll free: 1-888-577-5786
Fax: 1-480-998-0343.
E-mail: azcoat@azcoat.com

Our main facility is located in Scottsdale, Arizona at:
7707 E Acoma Dr. Bld 117
Scottsdale, AZ 85260

 
Your Information
     
 
First Name:
  Last Name:
 
Company:
 

Address:

 
City:
 
State:
 
Country:
 
Zip:
 
Phone Number:
 
Fax:
 
Email:
 
Web Address:
 
Prefer to be contacted via:
  Comments / Suggestions: