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

2003-03-27 Thread AzFLSite
I keep forgetting to do the reply to all thing! :) Here it is for anyone else as well. if (!eregi('[EMAIL PROTECTED],5}$',$email)) { echo 'Invalid email address'; } else { //do whatever } That should do it. Sometimes I get these wrong off the top of my head. Silly --- Philip J. Newman

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

2003-03-27 Thread Jason Wong
On Thursday 27 March 2003 14:44, Philip J. Newman wrote: How would i check that an e-mail has the right parts in it. for example. username @ domain . ext You would check the archives because this has been covered more times than I have fingers to keep count with. -- Jason Wong - Gremlins

[PHP] How do i valadate an email address?

2003-03-26 Thread Philip J. Newman
How would i check that an e-mail has the right parts in it. for example. username @ domain . ext Thanks / Jim Bob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php