That'll work!

Didnt' even occur to me to combine two variables from $_SERVER, and at first
I didn't thinkg HTTP_HOST would deliver what i was looking for.

Thanks!
"Richard Davey" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello Brian,
>
> Monday, March 1, 2004, 3:49:09 PM, you wrote:
>
> BJC> Are there variables or methods with apache I can use to get this
entire
> BJC> address? All I'm seeing is the HTTP Referrer and some other _SERVER
vars
> BJC> that do not give me the whole address.
>
> Personally I use the following (combined they'll give you the full
> address):
>
> $_SERVER['HTTP_HOST'];
> $_SERVER['REQUEST_URI'];
>
> -- 
> Best regards,
>  Richard Davey
>  http://www.phpcommunity.org/wiki/296.html

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

Reply via email to