function referer_uri in Drupal 6
Same name and namespace in other branches
- 4 includes/bootstrap.inc \referer_uri()
- 5 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 832 - Functions that need to be loaded on every Drupal request.
Code
function referer_uri() {
if (isset($_SERVER['HTTP_REFERER'])) {
return $_SERVER['HTTP_REFERER'];
}
}