/ Published in: PHP
Expand |
Embed | Plain Text
if (!$email || !ereg("^[-A-Za-z0-9_]+[-A-Za-z0-9_.]*[@]{1}[-A-Za-z0-9_]+[-A-Za-z0-9_.]*[.]{1}[A-Za-z]{2,5}$", $email)) { }
You need to login to post a comment.
mzym on 09/22/09
1 person have marked this snippet as a favorite