getenv("HTTP_HOST"); 

Then parse the data as you need to to get to the root of the domain.

-Jared

-----Original Message-----
From: Adrian Murphy [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 17, 2002 9:20 AM
To: [EMAIL PROTECTED]
Subject: [PHP] apache redirect and request


Hi,
my isp has set up an internal redirect that
resolves  www.mysite.biz to www.mysite.com
how can i check if the request was for the .biz version.
thx


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to