[pmwiki-devel] Getting URL
dso at moosoft.com
Mon Dec 4 16:10:27 CST 2006
That would be
$fullurl = $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'] .
Craige Leeder wrote:
> dso wrote:
>> err, that should be $_SERVER["SERVER_NAME"] not REMOTE_HOST
>> 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:
> and he wants the querystring aswell. Maybe I'm wrong though.
> - Craige
> -- InternetAdvisor.ca
More information about the pmwiki-devel