Anybody know where I could find a sample coding for validating email
ck
Check out zend.com. I seem to recall some code there.
if ( eregi("(@.*@)|(..)|(@.)|(.@)|(.)", $email, $arr_vars) or !eregi (".+@([?)[a-zA-Z0-9-.]+.([a-zA-Z]{2,3}|[0-9]{1,3})(]?)$", $email, $arr_vars))
that may do the job using regex, but the one in zend.com checks the mail server as well. I think i will consolidate the two and put one on there.