php-windows Digest 14 Apr 2013 15:01:16 -0000 Issue 4095
Topics (messages 31001 through 31001):
Explanation
31001 by: Egbert Husban
Administrivia:
To subscribe to the digest, e-mail:
php-windows-digest-subscr...@lists.php.net
To unsubscribe from the digest, e-mail:
php-windows-digest-unsubscr...@lists.php.net
To post to the list, e-mail:
php-wind...@lists.php.net
----------------------------------------------------------------------
--- Begin Message ---
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: sh...@live.nl
To: php-wind...@lists.php.net
Subject: RE: [PHP-WIN] RE: WELCOME to php-wind...@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: ero...@comsquared.com
> To: php-wind...@lists.php.net
> Date: Wed, 10 Apr 2013 12:34:46 -0400
> Subject: RE: [PHP-WIN] RE: WELCOME to php-wind...@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:sh...@live.nl]
> > Sent: Wednesday, April 10, 2013 6:37 AM
> > To: php-wind...@lists.php.net
> > Subject: RE: [PHP-WIN] RE: WELCOME to php-wind...@lists.php.net
> >
> >
> > From: sh...@live.nl
> > To: gavin.chalk...@gmail.com
> > Subject: RE: [PHP-WIN] RE: WELCOME to php-wind...@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.
--- End Message ---