Using domain names as visitor's channel differences
6-18-2009
Dear friends:
We have two domain names A and B, which are connected to one website.
Are there any way {PHP} to distinguish the visitors by domain names via which visitors are coming ( in order to use the visitor's channel differences as the instruction to link to different page of the website ) ?
I think you should be able to grab it from $_SERVER['SERVER_NAME'].
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
Bookmarks