Jason Wong <[EMAIL PROTECTED]> wrote on 08/21/2002 12:10:02 PM:
> It's only checking for addresses of the form [EMAIL PROTECTED]

> As you can see, the list address ([EMAIL PROTECTED]), and my address
> ([EMAIL PROTECTED]) would be treated as invalid. Not very clever is
it?

Got it figured out, and foreign address do work now -
if (empty($useremail) ||
!eregi("^([A-Za-z0-9\.\_-])+@([A-Za-z0-9\_-])+\.([A-Za-z])+\.([a-z])*$",
$useremail))

--
Chip


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

Reply via email to