In a message dated 9/21/2003 1:35:43 AM Eastern Standard Time, [EMAIL PROTECTED] writes:
> The host: header is what HTTP_HOST is. If you can access the site > by the IP, I'm not exactly sure what will happen in that case, > cause the browser may not send that host: value. > If it's accessed by IP, the "Host: header is omitted, and $HTTP_HOST returns the IP address. To build the full URL to that particular script, you would have to piece it together, using protocol + "://" + $http_host + "/" + $REQUEST_URI etc etc, not sure the exact code, but thats what ya gotta do...