function visitors_get_url in Visitors 7.0
Same name and namespace in other branches
- 8 visitors.exit.inc \visitors_get_url()
- 7.2 visitors.exit.inc \visitors_get_url()
- 7 visitors.exit.inc \visitors_get_url()
Get full path request uri.
Return value
string full path
File
- ./
visitors.exit.inc, line 68 - Implements of hook_exit().
Code
function visitors_get_url() {
return urldecode(sprintf('http://%s%s', $_SERVER['HTTP_HOST'], request_uri()));
}