Re: Capturing the url in the location bar

From: Date: Tue, 15 May 2001 13:43:49 +0000
Subject: Re: Capturing the url in the location bar
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-52849@lists.php.net to get a copy of this message
On 5/15/2001 9:27 AM this was written: > Is there a way of capturing the entire url contianed in the location bar > within a variable? $location = getenv("HTTP_HOST") . getenv("REQUEST_URI"); Or if your system handles it do this: $location = $HTTP_HOST . $REQUEST_URI; This will concatinate the site requested with the rest of the url. -- Thomas Deliduka IT Manager ------------------------- New Eve Media The Solution To Your Internet Angst http://www.neweve.com/

« previous php.general (#52849) next »