note 14711 added to function.checkdnsrr.php
| From: | Paul dot Hampson at Pobox dot Com | Date: | Sat, 11 Aug 2001 06:18:37 +0000 |
| Subject: | note 14711 added to function.checkdnsrr.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-16572@lists.php.net to get a copy of this message | ||
That should really be:
"^[0-9a-z_]([-_.]?[0-9a-z])*@[0-9a-z]([-.]?[0-9a-z])*\\.[a-z]{2,3}.?$"
since DNS addresses can end with a '.' (and in fact, often should do so)
--
TBBle
http://www.php.net/manual/en/function.checkdnsrr.php