![]() |
|
|
+ Search |
![]()
|
Aug 17th, 2000 16:48
Kelson Vibber, Kaspar Althaus,
Use the HTTP Host variable (in PHP, this shows up as $HTTP_HOST). That'll tell you whether the user is looking at site1.mydomain.com or site2.mydomain.com (or even www.myotherdomain.com).