Is there a way to find out the full url (not just the uri) of a page without using $_SERVER['SERVER_NAME']?
I have two domains parked to the same location. So I can get to test.php by "http://domainA.com/test.php" and "http://domainB/test.php". But $_SERVER['SERVER_NAME'] is set to "domainA.com"
I have two domains parked to the same location. So I can get to test.php by "http://domainA.com/test.php" and "http://domainB/test.php". But $_SERVER['SERVER_NAME'] is set to "domainA.com"
