note 93332 added to function.preg-match

From: Date: Thu, 03 Sep 2009 14:46:49 +0000
Subject: note 93332 added to function.preg-match
Groups: php.notes 
Request: Send a blank email to php-notes+get-160194@lists.php.net to get a copy of this message
If you want to validate an email in one line, use filter_var() function ! http://fr.php.net/manual/en/function.filter-var.php easy use, as described in the document example : var_dump(filter_var('bob@example.com', FILTER_VALIDATE_EMAIL)); ---- Server IP: 89.31.146.176 Probable Submitter: 82.127.112.47 ---- Manual Page -- http://www.php.net/manual/en/function.preg-match.php Edit -- https://master.php.net/note/edit/93332 Del: integrated -- https://master.php.net/note/delete/93332/integrated Del: useless -- https://master.php.net/note/delete/93332/useless Del: bad code -- https://master.php.net/note/delete/93332/bad+code Del: spam -- https://master.php.net/note/delete/93332/spam Del: non-english -- https://master.php.net/note/delete/93332/non-english Del: in docs -- https://master.php.net/note/delete/93332/in+docs Del: other reasons-- https://master.php.net/note/delete/93332 Reject -- https://master.php.net/note/reject/93332 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#160194) next »