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. > > > Date: Sun, 7 Apr 2013 07:34:50 +0100 > Subject: Re: RE: WELCOME to php-windows@xxxxxxxxxxxxx > From: gavin.chalkley@xxxxxxxxx > To: shuby@xxxxxxx > CC: php-windows@xxxxxxxxxxxxx > > U just did > > On Apr 6, 2013 10:17 PM, "Egbert Husban" <shuby@xxxxxxx> wrote: > > Hallo, When can i start to asking questions. > Egbert.================================================================ > ======================================================================= > ======================= > > > Date: Sat, 6 Apr 2013 18:00:25 +0000 > > > From: php-windows-help@xxxxxxxxxxxxx > > > To: shuby@xxxxxxx > > > Subject: WELCOME to php-windows@xxxxxxxxxxxxx > > > > > > Hi! This is the ezmlm program. I'm managing the > > > php-windows@xxxxxxxxxxxxx mailing list. > > > > > > I'm working for my owner, who can be reached > > > at php-windows-owner@xxxxxxxxxxxxx. > > > > > > Acknowledgment: I have added the address > > > > > > shuby@xxxxxxx > > > > > > to the php-windows mailing list. > > > > > > Welcome to php-windows@xxxxxxxxxxxxx! > > > > > > 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-subscribe@xxxxxxxxxxxxx> > > > > > > To remove your address from the list, send a message to: > > > <php-windows-unsubscribe@xxxxxxxxxxxxx> > > > > > > Send mail to the following for info and FAQ for this list: > > > <php-windows-info@xxxxxxxxxxxxx> > > > <php-windows-faq@xxxxxxxxxxxxx> > > > > > > Similar addresses exist for the digest list: > > > <php-windows-digest-subscribe@xxxxxxxxxxxxx> > > > <php-windows-digest-unsubscribe@xxxxxxxxxxxxx> > > > > > > To get messages 123 through 145 (a maximum of 100 per request), mail: > > > <php-windows-get.123_145@xxxxxxxxxxxxx> > > > > > > To get an index with subject and author for messages 123-456 , mail: > > > <php-windows-index.123_456@xxxxxxxxxxxxx> > > > > > > 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.12345@xxxxxxxxxxxxx> > > > > > > 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.domain@xxxxxxxxxxxxx> > > > > > > To stop subscription for this address, mail: > > > <php-windows-unsubscribe-john=host.domain@xxxxxxxxxxxxx> > > > > > > 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-owner@xxxxxxxxxxxxx. Please be patient, my owner is a > > > lot slower than I am ;-) > > > > > > --- Enclosed is a copy of the request I received. > > > > > > Return-Path: <shuby@xxxxxxx> > > > 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: <shuby@xxxxxxx> > > > 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.nl@xxxxxxxxxxxxx>; Sat, > 06 Apr 2013 13:00:25 -0500 > > > Return-Path: <shuby@xxxxxxx> > > > Authentication-Results: pb1.pair.com smtp.mail=shuby@xxxxxxx; > spf=pass; sender-id=pass > > > Authentication-Results: pb1.pair.com header.from=shuby@xxxxxxx; > 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: shuby@xxxxxxx > > > 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.nl@xxxxxxxxxxxxx>; 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: [shuby@xxxxxxx] > > > Message-ID: <DUB118-W5A9B883FADE5167F017AAB5DB0@xxxxxxx> > > > Return-Path: shuby@xxxxxxx > > > Content-Type: multipart/alternative; > > > boundary="_28cb33c1-4c81-495f-ac33-7a70e601ab2e_" > > > From: Egbert Husban <shuby@xxxxxxx> > > > To: > > > "php-windows-sc.1365186663.ljhppehmplodfglkibdj- > shuby=live.nl@xxxxxxxxxxxxx" > > > <php-windows-sc.1365186663.ljhppehmplodfglkibdj- > shuby=live.nl@xxxxxxxxxxxxx> > > > 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_-- > > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php