Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- get domain name w/ php/ regex?
Re: SUBDOMAINS was Re: get domain name w/ php/ regex?
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 'www.mark.goodge.co.uk'?
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: http://www.goodge.co.uk/cat /
"We're not the ones who're meant to follow"