$v = new sfValidatorEmail(); try { $v->clean(trim($email)); } catch (sfValidatorError $e) { // not valid }
No comments:
Post a Comment