The validation for an e-mail address is huge, if you don't believe me
pick up a copy of Mastering Regular Expressions by O'Reilly and look it
up.... And they can't claim it's perfect...

I don't know about is_alpha() or is_alnum(), IMHO, I think
is_valid_email() just doesn't belong. 

John


|-----Original Message-----
|From: [EMAIL PROTECTED] [mailto:nicos@;php.net] 
|Sent: Wednesday, November 13, 2002 9:46 PM
|To: [EMAIL PROTECTED]
|Subject: [PHP-DEV] is_*
|
|
|Hello,
|
|    After having helped many users, I just thought of new 
|functions like is_alpha, is_alnum, is_valid_email() that we 
|should make so the new user can do valid form with good 
|verification without knowing how ereg() or preg_* work. We 
|should think about some another functions too...
|
|    Any comment?
|
|P.S: they would be based on the same verification than ereg 
|[[:alnum:]] etc..
|
|Regards.
|
|M.CHAILLAN Nicolas
|[EMAIL PROTECTED]
|www.WorldAKT.com Hébergement de sites internets.
|
|
|
|
|-- 
|PHP Development Mailing List <http://www.php.net/>
|To unsubscribe, visit: http://www.php.net/unsub.php
|
|


--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to