> 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

Reply via email to