2 of my urls, for example http://www.abc.com and http://www.def.com point to the same .php file. I have some text on that target page that needs to be dynamically changed depending on whether it came from http://www.abc.com or http://www.def.com. Can this be done? How?
Share
See
$_SERVER['HTTP_HOST']for the host name of the current request.