>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
> 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
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 MainDo
3 matches
Mail list logo