11-18-2008, 11:06 AM
|
#9 (permalink)
|
|
Moderateur
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
|
Quote:
Originally Posted by codefreek
PS: at least now no one can do like this for example
Code:
someone@example.com%0ACc:person2@example.com
%0ABcc:person3@example.com,person3@example.com,
anotherperson4@example.com,person5@example.com
%0ABTo:person6@example.com
xD that was a big security flaw :P xd!
|
That "big security flaw" is still there.
The code could do with a tidy up (indenting!) and sometimes you're doing nearly the same thing but in different ways with different functions.
P.S. What's going on with the is_valid_email function; the regular expression ends with … $i$/ when called in preg_match. I don't think that's what you wanted.
|
|
|
|