I have a site where two domain names are coming in to the same site, I want to change the header picture based upon the domain name. ie.
http://www.domain1.com = Picture 1
http://www.domain2.com = Picture 2
How do I grab the incoming domain name?
$_SERVER['HTTP_HOST'] will show you it. you can use a simple if statement or switch statement to see which domain the person is on.