RE: RE: WELCOME to php-windows@xxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



No. There needs to be valid chars followed by @ followed by more valid chars
then a . and finally 2 - 4 alphas. If you do a search for email regular
expression you will find several to choose from.


> -----Original Message-----
> From: Egbert Husban [mailto:shuby@xxxxxxx]
> Sent: Saturday, April 13, 2013 3:56 AM
> To: php-windows@xxxxxxxxxxxxx
> Subject: RE:  RE: WELCOME to php-windows@xxxxxxxxxxxxx
> 
> Hallo everybody, Thank you Edward for answer!  Indeed, there is a big
> chance that the filter i am talking about in the Original message will
> remove a valid email addresses. However, there has to be at least two
> of the following characters!#$%&'*+-/=?^_`{|}~@.[] in this email
> address.Does someone agree with this statement?
> 
> =======================================================================
> =======================================================================
> =================> From: erouse@xxxxxxxxxxxxxx
> > To: php-windows@xxxxxxxxxxxxx
> > Date: Wed, 10 Apr 2013 12:34:46 -0400
> > Subject: RE:  RE: WELCOME to php-windows@xxxxxxxxxxxxx
> >
>  Not regarding your question, just wanted to point out that your filter
> will
> remove valid email addresses.
> >
> > > -----Original Message-----
> > > From: Egbert Husban [mailto:shuby@xxxxxxx]
> > > Sent: Wednesday, April 10, 2013 6:37 AM
> > > To: php-windows@xxxxxxxxxxxxx
> > > Subject: RE:  RE: WELCOME to php-windows@xxxxxxxxxxxxx
> > >
> > >
> > >  From: shuby@xxxxxxx
> > > To: gavin.chalkley@xxxxxxxxx
> > > Subject: RE:  RE: WELCOME to php-windows@xxxxxxxxxxxxx
> > > Date: Tue, 9 Apr 2013 15:31:28 +0200
> > >
> > > Hai man,
> > >
> > > I will aks some questions about an e-mail script. The core of this
> > > srcipt is to check whether the e-mail-server of the client gives
> > > response.
> > > If it does, than the e-mailadress of the client is true.
> > >
> > > Let me start with a few lines code.
> > > <?php
> if (isset($_POST['submit'])){
> error_reporting(0);
> $email = $_POST['too emailadres']; ingevulde email-adres
> $look = filter_var($email, FILTER_SANITIZE_EMAIL);
> $foutetekens=0;
> if($email==$look){
> ......
> ?>
> > >
> > > This is the first step of the script.
> FILTER_SANITIZE_EMAIL   Remove all characters except letters, digits
> and !#$%&'*+-/=?^_`{|}~@.[].
> > > Is it necessary too use FILTER_SANITIZE_EMAIL, when we know that it
> > > doesn't remove everything (!#$%&'*+-/=?^_`{|}~) out from an e-
> > > maildress?
> > >
> > > Greetings,
> > >
> > > Egbert.
> 
> 


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux