Re: checking if e-mail address and syntax are valid
| From: | Sterling | Date: | Tue, 24 Apr 2001 21:38:31 +0000 |
| Subject: | Re: checking if e-mail address and syntax are valid | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-50184@lists.php.net to get a copy of this message | ||
H-
If you're wanting to do it *before* the user sends the form than
javascript is the way to go.
http://developer.irt.org/script/email.htm
It's the very first FAQ. #122.
-Sterling
Carlos Fernando Scheidecker Antunes wrote:
>
> Hello all!
>
> I would like to know if anyone has or know any PHP code to verify if a form entered e-mail
> address is valid?
>
> I would like that things like 4$%^%$@@.com.br could not be sent. I only has to verify the
> syntax of it, the existance I believe should be harder to verify but if it is possible I would be
> glad if anyone could point me the way.
>
> Thanks,
>
> Carlos Fernando.