Explanation

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

 



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@xxxxxxx
To: php-windows@xxxxxxxxxxxxx
Subject: RE:  RE: WELCOME to php-windows@xxxxxxxxxxxxx
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@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.
 
 		 	   		   		 	   		  

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

  Powered by Linux