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/



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to