function referer_uri

6.x bootstrap.inc referer_uri()

Return the URI of the referring page.

2 calls to referer_uri()
statistics_exit in drupal-6.x/modules/statistics/statistics.module
Implementation of hook_exit().
watchdog in drupal-6.x/includes/bootstrap.inc
Log a system message.

File

drupal-6.x/includes/bootstrap.inc, line 825
Functions that need to be loaded on every Drupal request.

Code

function referer_uri() {
  if (isset($_SERVER['HTTP_REFERER'])) {
    return $_SERVER['HTTP_REFERER'];
  }
}