get domain name w/ php/ regex? - Page 2

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Re: SUBDOMAINS was Re: get domain name w/ php/ regex?

On Wed, 04 Oct 2006 22:04:31 GMT, Baho Utot put finger to keyboard and

Quoted text here. Click to load it

You can still have a subdomain in between the host and the domain,
though, in the sense in which most people use the term "domain". Which
is the host, and which is the domain, in ''?

Determining the host is easy, because the leftmost part is always the
host. But determining the paid-for domain from the rest isn't easy,
because that can exist at multiple levels of the FQD.

Please help a cat in need: /
"We're not the ones who're meant to follow"

Site Timeline