RE: [PHP-WIN] RE: WELCOME to php-windows@lists.php.net

From: Date: Sat, 13 Apr 2013 07:56:13 +0000
Subject: RE: [PHP-WIN] RE: WELCOME to php-windows@lists.php.net
References: 1 2 3 4 5 6  Groups: php.windows 
Request: Send a blank email to php-windows+get-31000@lists.php.net to get a copy of this message
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@comsquared.com > To: php-windows@lists.php.net > Date: Wed, 10 Apr 2013 12:34:46 -0400 > Subject: RE: [PHP-WIN] RE: WELCOME to php-windows@lists.php.net > Not regarding your question, just wanted to point out that your filter will remove valid email addresses. > > > -----Original Message----- > > From: Egbert Husban [mailto:shuby@live.nl] > > Sent: Wednesday, April 10, 2013 6:37 AM > > To: php-windows@lists.php.net > > Subject: RE: [PHP-WIN] RE: WELCOME to php-windows@lists.php.net > > > > > > From: shuby@live.nl > > To: gavin.chalkley@gmail.com > > Subject: RE: [PHP-WIN] RE: WELCOME to php-windows@lists.php.net > > 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.

« previous php.windows (#31000) next »