Re: Another parse problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Daniel P. Brown wrote:
On Wed, Jun 16, 2010 at 15:52, Robert Cummings <robert@xxxxxxxxxxxxx> wrote:
Additionally, extracting top level domains is not so simple since it may
have 2 or more parts.

    *Gasp!*  The Great Cummings is.... incorrect.

    /me faints.

    Actually, ccTLD's are just the very last group of letters.  For
example, .il, .uk, and .br.  However, the ICANN, registrar policies,
or sponsorship requirements for some of them require the use of an SLD
as well.  For example, .co.il, .org.uk, and .com.br, respectively.
Some ccTLDs offer the SLD options, but don't require them.  For
example, you can register .co.in, .firm.in, .gen.in, or any other
available SLD+ccTLD, or just the ccTLD .in itself.

    Still others have no such requirement or even official SLD
endorsements, such as good ol' Canada (Land of Clan Cummings),
Ireland, and here in the US.

Hahah, I can't be right all the time :D I didn't mean to use TLD, I meant to use domain name, but not including sub-domained names :) I don't even know what that is rightly called to exclude sub-domains. Anyways, those, by virtue of your above description can have two or more parts and there's not a simple way to extract that part without also extracting the sub-domain portions.

Cheers,
Rob.
--
E-Mail Disclaimer: Information contained in this message and any
attached documents is considered confidential and legally protected.
This message is intended solely for the addressee(s). Disclosure,
copying, and distribution are prohibited unless authorized.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux