You are here

function visitors_get_url in Visitors 7

Same name and namespace in other branches
  1. 8 visitors.exit.inc \visitors_get_url()
  2. 7.2 visitors.exit.inc \visitors_get_url()
  3. 7.0 visitors.exit.inc \visitors_get_url()

Get full path request uri.

Return value

string full path

1 call to visitors_get_url()
visitors_exit in ./visitors.exit.inc
Implements of hook_exit().

File

./visitors.exit.inc, line 70
Implements of hook_exit().

Code

function visitors_get_url() {
  return urldecode(sprintf('http://%s%s', $_SERVER['HTTP_HOST'], request_uri()));
}