Posted By

Shifter on 07/12/09


Tagged

email validate filtervar


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

vali29
irishsk


Validate Email


 / Published in: PHP
 

URL: http://php.net/manual/en/function.filter-var.php

With PHP 5.2.0 "filter_var" function

  1. function fnValidateEmail($mValue)
  2. {
  3. return filter_var($mValue, FILTER_VALIDATE_EMAIL);
  4. }

Report this snippet  

You need to login to post a comment.