I have already asked this question a long time ago, but now need to implement it for about a month. I want to see what a user has typed into their browser to access my site. I have aliased these domains and want them to be directed to certain folders depending on what domain they typed in to the browser. So all I want to do is if they typed in mydomain.com, I can send them to a cetain directory within my site. Now this gives me the domain they typed in.
<?php
print "<pre>";
print_r($_SERVER);
print "</pre>";
?>
Just need to use this for a little while I am setting up a new server. Thanks in advance for you help.