Get Domain Name only
Posted: Mon Jun 16, 2008 10:47 am
I know that you use $_SERVER['HTTP_HOST'] to get the domain name, but it also has the subdomain like www. or webmail.
How can I just get the website like: devnetwork.net
How can I just get the website like: devnetwork.net