'' ? '' : '
  • "First Name" is required
  • '.''; $errors .= $_POST['com_name']<>'' ? '' : '
  • "Company Name" is required
  • '.''; $errors .= $_POST['com_add']<>'' ? '' : '
  • "Company Address" is required
  • '.''; $errors .= $_POST['zip']<>'' ? '' : '
  • "Zip" is required
  • '.''; $errors .= eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$", $_POST['email']) ? '':'
  • "Email" is not valid
  • '.''; $errors .= $_POST['permit']<>'' ? '' : '
  • "Permit" is required
  • '.''; $errors .= $_POST['city']<>''? '': '
  • "City" is required
  • '.''; if(!empty($_POST['validator']) && $_POST['validator'] == $_SESSION['rand_code']){ unset($_SESSION['rand_code']); }else{ $errors .= '
  • "It seems that you are not human! Please fill in the letters that show in the little image on the right."
  • '.''; } if($errors == ''){ $email = ''; $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers .= "From: ".$_POST['email']."\r\n"; $headers .= "Reply-To: ".$_POST['email']."\r\n"; $sent = mail('inquiry@digital-scale-digital-scales.com','SCALES Wholesaler Signup - hbitech.com',$email,$headers); if($sent){ $message = '
    Your information was submitted successfully. We will get back to you shortly.
    '; unset($_POST); } }else{ $message = '
    '; } } ?> HBI Wholesale Digital Scales, Wholesale Electronic Pocket Scale Distribution