|
Posted by viraj on 11/03/05 06:32
dear all,
does PHP really needs a function to validate an email address!! i
doubt. because PHP is a language which provides number of string
functions with regex capabilities to develop what ever pattern
matching you want.
second point is, different organizations have different policies on
validating email addresses, so again those developers have to mend
their own mechanisms. so everybody will not benefit this effort.
third point is, if we add another function to PHP which, bit off from
the scope of a programming language someone else will request for some
other function to validate a time format, time zone or family
name(last name)!!, it will be a real mess!!
just my two cents! if i have misinterpreted something please clear me.
thanks.
~viraj
On 11/3/05, Ligaya Turmelle <lig@maolek.com> wrote:
>
> >There already is:
> > http://php.net/imap_rfc822_parse_adrlist
> >
> >
> quote from user contributed notes:
>
> "| This function does NOT test the syntax of either the local part, or
> the host part, it will permit illegal characters on either side."|
>
> --
> Respectfully,
> Ligaya Turmelle
>
> "Life is a game.... so have fun"
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
[Back to original message]
|