note 38181 added to function.eregi

From: Date: Thu, 11 Dec 2003 05:30:47 +0000
Subject: note 38181 added to function.eregi
Groups: php.notes 
Request: Send a blank email to php-notes+get-61778@lists.php.net to get a copy of this message
A little interesting and hopefully on topic point I found while browsing the internet at: http://www.clemburg.com/x1713.html#AEN1717 According to RFC 822 (see http://www.rfc-editor.org/), email addresses are case-sensitive in the part before the "@" sign, except for the special address "POSTMASTER", which is not case-sensitive. The part after the "@" sign is a host name, and is not case-sensitive. Note that many organizations will implement an aliasing facility that recognizes alternative forms for an email address (e.g., providing "John.Doe@my.organization.com", "john.doe@my.organization.com", "doe@my.organization.com", "Doe@my.organization.com" etc.). However, this is not required by the standard as specified in RFC 822. so you may want to keep that in mind.... i.e. breakup the username/alias (ereg) and domain (eregi) parts of the email ---- Manual Page -- http://www.php.net/manual/en/function.eregi.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+38181 Delete -- http://master.php.net/manage/user-notes.php?action=delete+38181&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+38181&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#61778) next »