Re: print url of refering domain

From: Date: Tue, 08 May 2001 16:10:27 +0000
Subject: Re: print url of refering domain
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-51919@lists.php.net to get a copy of this message
> I would like to be able to display the refering domain name on the page > along with a small text message (under construction) etc, to save me having > to create sites for each domain. Under Apache and with an HTTP/1.1 client, $HTTP_SERVER_VARS["HTTP_HOST"] contains the value you're looking for, I believe (i.e. the contents of the HTTP/1.1 Host header sent by the browser) - Tim

« previous php.general (#51919) next »