Welcome to WebmasterWorld Guest from 220.127.116.11
I am able to retrieve the server name with $SERVER_NAME but I have several domain names pointing to the same site and I need to detect which URL the user entered into his browser to reach the site.
i.e. 2 domain names domain1.com and domain2.com both point to the domain1.com server, some users get there through the urlo domain1.com and others by entering domain2.com into their browser.
When the page loads I need to detect which one they used to get there?!
Is it possible & if so how?
Thanx so much