RE: [PHP] apache redirect and request

2002-05-17 Thread Jared Boelens

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




Re: [PHP] apache redirect and request

2002-05-17 Thread Adrian Murphy

naw.i tried that and all i get is the .com all the time
- Original Message - 
From: Jared Boelens [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, May 17, 2002 2:34 PM
Subject: RE: [PHP] apache redirect and request


 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
 


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