note 43177 added to function.ereg

From: Date: Sat, 12 Jun 2004 00:41:19 +0000
Subject: note 43177 added to function.ereg
Groups: php.notes 
Request: Send a blank email to php-notes+get-70952@lists.php.net to get a copy of this message
Please take note, that while checking the e-mail addresses of international users one should allow for 1-letter long domain names, such as http://www.a.pl/ (it's an existing domain and username@a.pl is a valid e-mail address.) The regexps I've seen usually require at least 2 characters in a domain name, as it is required for .com, .org and other US/international TLDs. That's doesn't have to be the case with national TLD operators, who set their own rules. ---- Manual Page -- http://www.php.net/manual/en/function.ereg.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+43177 Delete -- http://master.php.net/manage/user-notes.php?action=delete+43177&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+43177&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#70952) next »