note 110610 added to filter.examples.validation

From: Date: Mon, 12 Nov 2012 23:18:33 +0000
Subject: note 110610 added to filter.examples.validation
Groups: php.notes 
Request: Send a blank email to php-notes+get-191902@lists.php.net to get a copy of this message
<?php $email_a = 'domain@freeelancers.com'; $email_b = 'domain2@freeelancers.com'; if (filter_var($email_a, FILTER_VALIDATE_EMAIL)) { echo "This (email_a) email address is considered valid."; } if (filter_var($email_b, FILTER_VALIDATE_EMAIL)) { echo "This (email_b) email address is considered valid."; } ?> OUTPUT: This (email_a) email address is considered valid. Woomp... We lost email_b, which is true either.. Looking for Fix ? ---- Server IP: 69.147.83.199 Probable Submitter: 36.253.19.209 ---- Manual Page -- http://www.php.net/manual/en/filter.examples.validation.php Edit -- https://master.php.net/note/edit/110610 Del: integrated -- https://master.php.net/note/delete/110610/integrated Del: useless -- https://master.php.net/note/delete/110610/useless Del: bad code -- https://master.php.net/note/delete/110610/bad+code Del: spam -- https://master.php.net/note/delete/110610/spam Del: non-english -- https://master.php.net/note/delete/110610/non-english Del: in docs -- https://master.php.net/note/delete/110610/in+docs Del: other reasons-- https://master.php.net/note/delete/110610 Reject -- https://master.php.net/note/reject/110610 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#191902) next »