RE: [PHP-DEV] is_*
| From: | John Coggeshall | Date: | Thu, 14 Nov 2002 06:09:37 +0000 |
| Subject: | RE: [PHP-DEV] is_* | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-91008@lists.php.net to get a copy of this message | ||
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: nicos@php.net [mailto:nicos@php.net]
|Sent: Wednesday, November 13, 2002 9:46 PM
|To: php-dev@lists.php.net
|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
|nicos@php.net
|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
|
|