Re: [PHP] Re: How do i valadate an email address?

2003-03-29 Thread Justin French
http://www.killersoft.com/downloads/pafiledb.php?action=fileid=4 Justin On 03/27/2003 03:44 AM, Philip J. Newman wrote: How would i check that an e-mail has the right parts in it. for example. username @ domain . ext -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Re: How do i valadate an email address?

2003-03-27 Thread Gudmund Vatn
Philip J. Newman wrote: How would i check that an e-mail has the right parts in it. for example. username @ domain . ext Thanks / Jim Bob Many people just check it like this: if (strpos($emailVar), '@') 0) { echo 'Email is validated'; } else { echo 'Please supply a correct email

[PHP] Re: How do i valadate an email address?

2003-03-27 Thread Manuel Lemos
Hello, On 03/27/2003 03:44 AM, Philip J. Newman wrote: How would i check that an e-mail has the right parts in it. for example. username @ domain . ext You may want to try this class that provides different levels of e-mail address validation: http://www.phpclasses.org/emailvalidation --