RE: [PHP-WIN] Explanation

From: Date: Sun, 14 Apr 2013 18:31:42 +0000
Subject: RE: [PHP-WIN] Explanation
References: 1 2 3 4 5 6 7 8  Groups: php.windows 
Request: Send a blank email to php-windows+get-31002@lists.php.net to get a copy of this message
> From: shuby@live.nl > To: php-windows@lists.php.net > Date: Sun, 14 Apr 2013 17:01:09 +0200 > Subject: [PHP-WIN] Explanation > > Hallo everybody, Can someone gives an explanation of what is following: class > SMTP_validateEmail { > var $sock;? > var $user;? > var $domain;? > var $domains;? > var $port = 25;? > var $max_conn_time = 25;? > var $max_read_time = 5;? > var $from_user = 'user';? > var $from_domain = '';? > var $nameservers = array('192.168.0.1'); ? > var $debug = false;? ? is my question. Egbert. > > From: shuby@live.nl > To: php-windows@lists.php.net > Subject: RE: [PHP-WIN] RE: WELCOME to php-windows@lists.php.net > Date: Sat, 13 Apr 2013 09:56:13 +0200 > > > > > Hallo everybody, > > Thank you Edward for your 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 (#31002) next »