RE: [PHP] Directing A Parked Domain To A Sub Directory

2001-08-31 Thread Dave
I've got a website, we'll call it MainDomain.com. I created a specialty site in a sub-directory. We'll call the sub-directory Widgets. I want a different domain to point to that sub directory. We'll call the new domain WidgetWorld.com My webhost will allow me to park WidgetWorld.com at

RE: [PHP] Directing A Parked Domain To A Sub Directory

2001-08-30 Thread Boget, Chris
How can I use PHP to detect if the visitor wanted MainDomain.com (and display MainDomain/index.php) or WidgetWorld.com (and then display MainDomain/Widgets/index.php). I *believe* what you are looking for is $HTTP_HOST. Chris