You are here

function referer_uri in Drupal 5

Same name and namespace in other branches
  1. 4 includes/bootstrap.inc \referer_uri()
  2. 6 includes/bootstrap.inc \referer_uri()

Return the URI of the referring page.

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

File

includes/bootstrap.inc, line 658
Functions that need to be loaded on every Drupal request.

Code

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