[pmwiki-devel] Getting URL

Craige Leeder craige at internetadvisor.ca
Mon Dec 4 16:00:54 CST 2006


dso wrote:

>err, that should be $_SERVER["SERVER_NAME"] not REMOTE_HOST
>
>Daniel
>
>dso wrote:
>  
>
>>What about $_SERVER["REMOTE_HOST"] and $_SERVER["REQUEST_URI"] and then
>>you'd need to add http:// and it should be a full url.  I think :)
>>

I think he means he has:
http://www.domain.com/path/to/script.php

and he wants the querystring aswell. Maybe I'm wrong though.

- Craige
-- InternetAdvisor.ca



More information about the pmwiki-devel mailing list