note 95208 added to function.filter-var

From: Date: Fri, 18 Dec 2009 17:01:45 +0000
Subject: note 95208 added to function.filter-var
Groups: php.notes 
Request: Send a blank email to php-notes+get-164114@lists.php.net to get a copy of this message
Note that FILTER_VALIDATE_EMAIL used in isolation is not enough for most (if not all) web based registration forms. It will happily pronounce "yourname" as valid because presumably the "@localhost" is implied, so you still have to check that the domain portion of the address exists. It would be nice if there was a FILTER_VALIDATE_EMAIL_NON_LOCAL or similar, available by default. ---- Server IP: 69.147.83.197 Probable Submitter: 81.137.88.178 ---- Manual Page -- http://www.php.net/manual/en/function.filter-var.php Edit -- https://master.php.net/note/edit/95208 Del: integrated -- https://master.php.net/note/delete/95208/integrated Del: useless -- https://master.php.net/note/delete/95208/useless Del: bad code -- https://master.php.net/note/delete/95208/bad+code Del: spam -- https://master.php.net/note/delete/95208/spam Del: non-english -- https://master.php.net/note/delete/95208/non-english Del: in docs -- https://master.php.net/note/delete/95208/in+docs Del: other reasons-- https://master.php.net/note/delete/95208 Reject -- https://master.php.net/note/reject/95208 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#164114) next »