note 76941 added to function.eregi

From: Date: Tue, 07 Aug 2007 03:12:13 +0000
Subject: note 76941 added to function.eregi
Groups: php.notes 
Request: Send a blank email to php-notes+get-129241@lists.php.net to get a copy of this message
Hi, "rcsoft at gmail dot com" On 14-Mar-2007 09:15 you wrote about validating e-mails by eregi() and a list of allowed domains. Much better would be take the substring before the "@" and check it with eregi(), but the other part - check if the DNS or corresponding IP exists over the net. There are new domains comming and maintaining your list would be a nightmare. Best, Kris Kramarz ---- Server IP: 69.147.83.197 Probable Submitter: 190.140.39.22 ---- Manual Page -- http://www.php.net/manual/en/function.eregi.php Edit -- https://master.php.net/note/edit/76941 Del: integrated -- https://master.php.net/note/delete/76941/integrated Del: useless -- https://master.php.net/note/delete/76941/useless Del: bad code -- https://master.php.net/note/delete/76941/bad+code Del: spam -- https://master.php.net/note/delete/76941/spam Del: non-english -- https://master.php.net/note/delete/76941/non-english Del: in docs -- https://master.php.net/note/delete/76941/in+docs Del: other reasons-- https://master.php.net/note/delete/76941 Reject -- https://master.php.net/note/reject/76941 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#129241) next »