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 MainDomain.com.
However, if someone goes to WidgetWorld.com, it would pull up the index
page for MainDomain.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

Jeff Gannaway

Find the right art print for your home.
* Search by artist, color, art style and subject.
* Preview the art prints against your wall color.
* Specializing in contemporary, abstract and African
  American art.
* Every day discounts on thousands of fine art prints.

PopStreet.com is your avenue to art. 


PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to