note 24758 added to function.ereg
| From: | thorchar at hotmail dot com | Date: | Tue, 27 Aug 2002 21:42:41 +0000 |
| Subject: | note 24758 added to function.ereg | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-35808@lists.php.net to get a copy of this message | ||
Use this to check if an email address is correct:
ereg("[a-z0-9_]{1,}@[a-z0-9_]{2,}.[a-z0-9_]{2,}",$email)
--
http://www.php.net/manual/en/function.ereg.php
http://master.php.net/manage/user-notes.php?action=edit+24758
http://master.php.net/manage/user-notes.php?action=delete+24758
http://master.php.net/manage/user-notes.php?action=reject+24758