Exemplo n.º 1
0
 if (DataValidator::validate_string($_POST['tester_rs']) === FALSE) {
     $errorsAr['tester_rs'] = true;
 }
 if (DataValidator::validate_not_empty_string($_POST['tester_address']) === FALSE) {
     $errorsAr['tester_address'] = true;
 }
 if (DataValidator::validate_not_empty_string($_POST['tester_province']) === FALSE) {
     $errorsAr['tester_province'] = true;
 }
 if (DataValidator::validate_not_empty_string($_POST['tester_city']) === FALSE) {
     $errorsAr['tester_city'] = true;
 }
 if (DataValidator::validate_not_empty_string($_POST['tester_country']) === FALSE) {
     $errorsAr['tester_country'] = true;
 }
 if (DataValidator::validate_phone($_POST['tester_phone']) === FALSE) {
     $errorsAr['tester_phone'] = true;
 }
 if (DataValidator::validate_email($_POST['tester_email']) === FALSE) {
     $errorsAr['tester_email'] = true;
 }
 if (DataValidator::validate_string($_POST['tester_desc']) === FALSE) {
     $errorsAr['tester_desc'] = true;
 }
 if (DataValidator::validate_string($_POST['tester_resp']) === FALSE) {
     $errorsAr['tester_resp'] = true;
 }
 if (DataValidator::validate_testername($_POST['tester_pointer'], MULTIPROVIDER) === FALSE) {
     $errorsAr['tester_pointer'] = true;
 }
 if (count($errorsAr) > 0) {