Re: Another parse problem
| From: | Daniel P. Brown | Date: | Wed, 16 Jun 2010 17:29:57 +0000 |
| Subject: | Re: Another parse problem | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-306207@lists.php.net to get a copy of this message | ||
On Wed, Jun 16, 2010 at 13:22, tedd <tedd.sperling@gmail.com> wrote:
>
> The given was to parse domain-names, but both routines pulled out
> sub-domains as well. Perhaps I am wrong in my understanding of what a domain
> name is, but I would normally look at sub domains as not part of the "domain
> name". Sub domains are simply extensions of the domain name, am I right or
> wrong?
Technically, a domain name is anything from the TLD and SLD levels
and below. An FQDN (commonly called a "hostname") is in the format
cname.sld.tld.
--
</Daniel P. Brown>
daniel.brown@parasane.net || danbrown@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
We now offer SAME-DAY SETUP on a new line of servers!