php-windows Digest 13 Apr 2013 07:56:19 -0000 Issue 4094
Topics (messages 30999 through 31000):
Re: WELCOME to [email protected]
30999 by: Edward W. Rouse
31000 by: Egbert Husban
Administrivia:
To subscribe to the digest, e-mail:
[email protected]
To unsubscribe from the digest, e-mail:
[email protected]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
Not regarding your question, just wanted to point out that your filter will
remove valid email addresses.
> -----Original Message-----
> From: Egbert Husban [mailto:[email protected]]
> Sent: Wednesday, April 10, 2013 6:37 AM
> To: [email protected]
> Subject: RE: [PHP-WIN] RE: WELCOME to [email protected]
>
>
> From: [email protected]
> To: [email protected]
> Subject: RE: [PHP-WIN] RE: WELCOME to [email protected]
> 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.
>
>
> Date: Sun, 7 Apr 2013 07:34:50 +0100
> Subject: Re: [PHP-WIN] RE: WELCOME to [email protected]
> From: [email protected]
> To: [email protected]
> CC: [email protected]
>
> U just did
>
> On Apr 6, 2013 10:17 PM, "Egbert Husban" <[email protected]> wrote:
>
> Hallo, When can i start to asking questions.
> Egbert.================================================================
> =======================================================================
> =======================
>
> > Date: Sat, 6 Apr 2013 18:00:25 +0000
>
> > From: [email protected]
>
> > To: [email protected]
>
> > Subject: WELCOME to [email protected]
>
> >
>
> > Hi! This is the ezmlm program. I'm managing the
>
> > [email protected] mailing list.
>
> >
>
> > I'm working for my owner, who can be reached
>
> > at [email protected].
>
> >
>
> > Acknowledgment: I have added the address
>
> >
>
> > [email protected]
>
> >
>
> > to the php-windows mailing list.
>
> >
>
> > Welcome to [email protected]!
>
> >
>
> > Please save this message so that you know the address you are
>
> > subscribed under, in case you later want to unsubscribe or change
> your
>
> > subscription address.
>
> >
>
> >
>
> > --- Administrative commands for the php-windows list ---
>
> >
>
> > I can handle administrative requests automatically. Please
>
> > do not send them to the list address! Instead, send
>
> > your message to the correct command address:
>
> >
>
> > To subscribe to the list, send a message to:
>
> > <[email protected]>
>
> >
>
> > To remove your address from the list, send a message to:
>
> > <[email protected]>
>
> >
>
> > Send mail to the following for info and FAQ for this list:
>
> > <[email protected]>
>
> > <[email protected]>
>
> >
>
> > Similar addresses exist for the digest list:
>
> > <[email protected]>
>
> > <[email protected]>
>
> >
>
> > To get messages 123 through 145 (a maximum of 100 per request), mail:
>
> > <[email protected]>
>
> >
>
> > To get an index with subject and author for messages 123-456 , mail:
>
> > <[email protected]>
>
> >
>
> > They are always returned as sets of 100, max 2000 per request,
>
> > so you'll actually get 100-499.
>
> >
>
> > To receive all messages with the same subject as message 12345,
>
> > send an empty message to:
>
> > <[email protected]>
>
> >
>
> > The messages do not really need to be empty, but I will ignore
>
> > their content. Only the ADDRESS you send to is important.
>
> >
>
> > You can start a subscription for an alternate address,
>
> > for example "[email protected]", just add a hyphen and your
>
> > address (with '=' instead of '@') after the command word:
>
> > <[email protected]>
>
> >
>
> > To stop subscription for this address, mail:
>
> > <[email protected]>
>
> >
>
> > In both cases, I'll send a confirmation message to that address. When
>
> > you receive it, simply reply to it to complete your subscription.
>
> >
>
> > If despite following these instructions, you do not get the
>
> > desired results, please contact my owner at
>
> > [email protected]. Please be patient, my owner is a
>
> > lot slower than I am ;-)
>
> >
>
> > --- Enclosed is a copy of the request I received.
>
> >
>
> > Return-Path: <[email protected]>
>
> > Received: (qmail 71413 invoked from network); 6 Apr 2013 18:00:25 -
> 0000
>
> > Received: from unknown (HELO lists.php.net) (127.0.0.1)
>
> > by localhost with SMTP; 6 Apr 2013 18:00:25 -0000
>
> > Return-Path: <[email protected]>
>
> > Received: from [127.0.0.1] ([127.0.0.1:23832])
>
> > by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ECSTREAM
>
> > id 42/A0-00620-9B260615 for <php-windows-
> [email protected]>; Sat,
> 06 Apr 2013 13:00:25 -0500
>
> > Return-Path: <[email protected]>
>
> > Authentication-Results: pb1.pair.com [email protected];
> spf=pass; sender-id=pass
>
> > Authentication-Results: pb1.pair.com [email protected];
> sender-id=pass
>
> > Received-SPF: pass (pb1.pair.com: domain live.nl designates
> 157.55.0.234 as permitted sender)
>
> > X-PHP-List-Original-Sender: [email protected]
>
> > X-Host-Fingerprint: 157.55.0.234 dub0-omc1-s35.dub0.hotmail.com
> Windows 2000 SP4, XP SP1
>
> > Received: from [157.55.0.234] ([157.55.0.234:26739] helo=dub0-omc1-
> s35.dub0.hotmail.com)
>
>
> > by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP
>
> > id 6C/A1-45934-EF630615 for <php-windows-
> [email protected]>; Sat,
> 06 Apr 2013 09:53:51 -0500
>
> > Received: from DUB118-W5 ([157.55.0.237]) by dub0-omc1-
> s35.dub0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675);
>
>
> > Sat, 6 Apr 2013 07:53:47 -0700
>
> > X-EIP: [XhtFZpo5+6RLSxp7fwv77IuQUinWbXRl]
>
> > X-Originating-Email: [[email protected]]
>
> > Message-ID: <[email protected]>
>
> > Return-Path: [email protected]
>
> > Content-Type: multipart/alternative;
>
> > boundary="_28cb33c1-4c81-495f-ac33-7a70e601ab2e_"
>
> > From: Egbert Husban <[email protected]>
>
> > To:
>
> > "php-windows-sc.1365186663.ljhppehmplodfglkibdj-
> [email protected]"
>
> > <php-windows-sc.1365186663.ljhppehmplodfglkibdj-
> [email protected]>
>
> > Subject:
>
> > Date: Sat, 6 Apr 2013 16:53:47 +0200
>
> > Importance: Normal
>
> > MIME-Version: 1.0
>
> > X-OriginalArrivalTime: 06 Apr 2013 14:53:47.0599 (UTC)
> FILETIME=[8AF475F0:01CE32D6]
>
> >
>
> > --_28cb33c1-4c81-495f-ac33-7a70e601ab2e_
>
> > Content-Type: text/plain; charset="iso-8859-1"
>
> > Content-Transfer-Encoding: quoted-printable
>
> >
>
> > =
>
> >
>
> > --_28cb33c1-4c81-495f-ac33-7a70e601ab2e_
>
> > Content-Type: text/html; charset="iso-8859-1"
>
> > Content-Transfer-Encoding: quoted-printable
>
> >
>
> > <html>
>
> > <head>
>
> > <style><!--
>
> > ..hmmessage P
>
> > {
>
> > margin:0px=3B
>
> > padding:0px
>
> > }
>
> > body.hmmessage
>
> > {
>
> > font-size: 12pt=3B
>
> > font-family:Calibri
>
> > }
>
> > --></style></head>
>
> > <body class=3D'hmmessage'><div dir=3D'ltr'>
> </div></body>
>
> > </html>=
>
> >
>
> > --_28cb33c1-4c81-495f-ac33-7a70e601ab2e_--
>
>
>
--- End Message ---
--- Begin 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: [email protected]
> To: [email protected]
> Date: Wed, 10 Apr 2013 12:34:46 -0400
> Subject: RE: [PHP-WIN] RE: WELCOME to [email protected]
>
Not regarding your question, just wanted to point out that your filter will
remove valid email addresses.
>
> > -----Original Message-----
> > From: Egbert Husban [mailto:[email protected]]
> > Sent: Wednesday, April 10, 2013 6:37 AM
> > To: [email protected]
> > Subject: RE: [PHP-WIN] RE: WELCOME to [email protected]
> >
> >
> > From: [email protected]
> > To: [email protected]
> > Subject: RE: [PHP-WIN] RE: WELCOME to [email protected]
> > 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 ---