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
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
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
3 matches
Mail list logo