Re: [PHP-DEV] is_*
At 03:46 14-11-2002, [EMAIL PROTECTED] wrote: Hello, After having helped many users, I just thought of new functions like is_alpha, is_alnum, is_valid_email() Oh - please don't touch that. Bug #102839404: php sent email to invalid address Hi, is_valid_email() says '[EMAIL PROTECTED]' is valid, but it is not. Fix it! With kind regards, Melvyn Sopacua ?php include(not_reflecting_employers_views.txt); ? -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] is_*
IMHO, this will be bloat code which many PHP developers do not want in there core code. Many php developers have there own functions or classes that deal with these issues. I would suggest those developers that need this type of code, they should find some that is already written. On Thu, 2002-11-14 at 02:46, [EMAIL PROTECTED] wrote: 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. -- .: B i g D o g :. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] is_*
Probably I will take this to PEAR. Thanks. -- M.CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com Hébergement de sites internets. Bigdog [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] IMHO, this will be bloat code which many PHP developers do not want in there core code. Many php developers have there own functions or classes that deal with these issues. I would suggest those developers that need this type of code, they should find some that is already written. On Thu, 2002-11-14 at 02:46, [EMAIL PROTECTED] wrote: 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. -- .: B i g D o g :. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] is_*
Probably I will take this to PEAR. Thanks. -- M.CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com Hébergement de sites internets. Bigdog [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] IMHO, this will be bloat code which many PHP developers do not want in there core code. Many php developers have there own functions or classes that deal with these issues. I would suggest those developers that need this type of code, they should find some that is already written. On Thu, 2002-11-14 at 02:46, [EMAIL PROTECTED] wrote: 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. -- .: B i g D o g :. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP-DEV] is_*
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
Re: [PHP-DEV] is_*
have a look at the validate package in pear. Regards Alan |-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