On Monday, March 29, 2004, at 10:00 PM, John W. Holmes wrote:

Robert Kornfeld wrote:

as with april 1, on may use special german and frech characters for urls and
email-names. does anyone know a reg. expression to validate the syntax of a
email-adress?

if(strpos($email,'@'))


No, seriously.

LMFAO -- was just about to say the same thing, but I'd also check for at least one period too -- or is that asking too much?


if( strpos($email,'@') && strpos($email,'.') )

---
Justin French
http://indent.com.au

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to