php-windows Digest 13 Apr 2013 07:56:19 -0000 Issue 4094
Topics (messages 30999 through 31000):
Re: WELCOME to php-wind...@lists.php.net
30999 by: Edward W. Rouse
31000 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 ---
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.
>
>
> Date: Sun, 7 Apr 2013 07:34:50 +0100
> Subject: Re: [PHP-WIN] RE: WELCOME to php-wind...@lists.php.net
> From: gavin.chalk...@gmail.com
> To: sh...@live.nl
> CC: php-wind...@lists.php.net
>
> U just did
>
> On Apr 6, 2013 10:17 PM, "Egbert Husban" <sh...@live.nl> wrote:
>
> Hallo, When can i start to asking questions.
> Egbert.================================================================
> =======================================================================
> =======================
>
> > Date: Sat, 6 Apr 2013 18:00:25 +0000
>
> > From: php-windows-h...@lists.php.net
>
> > To: sh...@live.nl
>
> > Subject: WELCOME to php-wind...@lists.php.net
>
> >
>
> > Hi! This is the ezmlm program. I'm managing the
>
> > php-wind...@lists.php.net mailing list.
>
> >
>
> > I'm working for my owner, who can be reached
>
> > at php-windows-ow...@lists.php.net.
>
> >
>
> > Acknowledgment: I have added the address
>
> >
>
> > sh...@live.nl
>
> >
>
> > to the php-windows mailing list.
>
> >
>
> > Welcome to php-wind...@lists.php.net!
>
> >
>
> > 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:
>
> > <php-windows-subscr...@lists.php.net>
>
> >
>
> > To remove your address from the list, send a message to:
>
> > <php-windows-unsubscr...@lists.php.net>
>
> >
>
> > Send mail to the following for info and FAQ for this list:
>
> > <php-windows-i...@lists.php.net>
>
> > <php-windows-...@lists.php.net>
>
> >
>
> > Similar addresses exist for the digest list:
>
> > <php-windows-digest-subscr...@lists.php.net>
>
> > <php-windows-digest-unsubscr...@lists.php.net>
>
> >
>
> > To get messages 123 through 145 (a maximum of 100 per request), mail:
>
> > <php-windows-get.123_...@lists.php.net>
>
> >
>
> > To get an index with subject and author for messages 123-456 , mail:
>
> > <php-windows-index.123_...@lists.php.net>
>
> >
>
> > 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:
>
> > <php-windows-thread.12...@lists.php.net>
>
> >
>
> > 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 "john@host.domain", just add a hyphen and your
>
> > address (with '=' instead of '@') after the command word:
>
> > <php-windows-subscribe-john=host.dom...@lists.php.net>
>
> >
>
> > To stop subscription for this address, mail:
>
> > <php-windows-unsubscribe-john=host.dom...@lists.php.net>
>
> >
>
> > 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
>
> > php-windows-ow...@lists.php.net. Please be patient, my owner is a
>
> > lot slower than I am ;-)
>
> >
>
> > --- Enclosed is a copy of the request I received.
>
> >
>
> > Return-Path: <sh...@live.nl>
>
> > 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: <sh...@live.nl>
>
> > 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-
> sc.1365186663.ljhppehmplodfglkibdj-shuby=live...@lists.php.net>; Sat,
> 06 Apr 2013 13:00:25 -0500
>
> > Return-Path: <sh...@live.nl>
>
> > Authentication-Results: pb1.pair.com smtp.mail=sh...@live.nl;
> spf=pass; sender-id=pass
>
> > Authentication-Results: pb1.pair.com header.from=sh...@live.nl;
> 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: sh...@live.nl
>
> > 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-
> sc.1365186663.ljhppehmplodfglkibdj-shuby=live...@lists.php.net>; 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: [sh...@live.nl]
>
> > Message-ID: <dub118-w5a9b883fade5167f017aab5...@phx.gbl>
>
> > Return-Path: sh...@live.nl
>
> > Content-Type: multipart/alternative;
>
> > boundary="_28cb33c1-4c81-495f-ac33-7a70e601ab2e_"
>
> > From: Egbert Husban <sh...@live.nl>
>
> > To:
>
> > "php-windows-sc.1365186663.ljhppehmplodfglkibdj-
> shuby=live...@lists.php.net"
>
> > <php-windows-sc.1365186663.ljhppehmplodfglkibdj-
> shuby=live...@lists.php.net>
>
> > 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: 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 ---