You are here

function visitors_get_url in Visitors 7.2

Same name and namespace in other branches
  1. 8 visitors.exit.inc \visitors_get_url()
  2. 7 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 hook_exit().

File

./visitors.exit.inc, line 71
Implements hook_exit().

Code

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