RE: [PHP] Directing A Parked Domain To A Sub Directory
| From: | Boget, Chris | Date: | Thu, 30 Aug 2001 18:24:57 +0000 |
| Subject: | RE: [PHP] Directing A Parked Domain To A Sub Directory | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-65357@lists.php.net to get a copy of this message | ||
> 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