".email" email address error on sign up (General)
Hello,
@Milo: I suggest to change from regex to
filter_vars
with the next main version, which is 2.5.
Why waiting for a simple modification? Just do it.
function is_valid_email($email) { $email = filter_var($email, FILTER_SANITIZE_EMAIL); return (!filter_var($email, FILTER_VALIDATE_EMAIL) === false) && !contains_invalid_string($email); }
/Micha
--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences