I have a main domain, let's say www.domain.com
I have a parked domain, www.parkeddomain.com pointing to the main domain.
Is there a way for the index.php to know what domain name the user typed? Is it reflected in the $HTTP_HOST?
Thanks
This is a discussion on Determining URL of parked domain in the Shared & Semi-Dedicated forum
I have a main domain, let's say www.domain.com
I have a parked domain, www.parkeddomain.com pointing to the main domain.
Is there a way for the ...
I have a main domain, let's say www.domain.com
I have a parked domain, www.parkeddomain.com pointing to the main domain.
Is there a way for the index.php to know what domain name the user typed? Is it reflected in the $HTTP_HOST?
Thanks
Yes, HTTP_HOST should contain the domain name that was used to request a page.
--Jason
Copyright © 2011 JaguarPC.com
Bookmarks