NYCPHP Meetup

NYPHP.org

[nycphp-talk] Preg_match email address

Analysis & Solutions danielc at analysisandsolutions.com
Mon Sep 15 11:53:24 EDT 2003


Hi Jeff:

The original expression in the prior thread works (barring it'll allow 
addresses starting with punctuation).

So, I'm guessing you haven't tracked down what's going on with the www. 
email addresses.  You didn't reply to my email in that thread dated 9/11.  
Guess you didn't see it...

From: Analysis & Solutions <danielc at analysisandsolutions.com>
To: NYPHP Talk <talk at lists.nyphp.org>
Date: Thu, 11 Sep 2003 01:26:26 -0400
Subject: Re: [nycphp-talk] Sneaking in unwanted characters

On Wed, Sep 10, 2003 at 03:34:55PM -0400, Jeff wrote:
>
> Somehow someone managed to sneak through an email address with a www at
> the beginning and I'm a bit puzzled as to how they managed to do it.  

You posted the actual address later on in the thread.  What happens if you      
put in that email address yourself?  Does it get through?

If so, then there's definitely a flaw in the code.  Perhaps the variable
being checked isn't the same as the one that gets used.

If not, maybe there's some other older version of the scripts laying
around that the person in question used.      

--Dan

-- 
     FREE scripts that make web and database programming easier
           http://www.analysisandsolutions.com/software/
 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
 4015 7th Ave #4AJ, Brooklyn NY    v: 718-854-0335   f: 718-854-0409



More information about the talk mailing list