Get user referrer

Returns HTTP refer[r]er. Read more.

php
fork add to bundle source
function get_referrer() { return $_SERVER['HTTP_REFERER']; }

usage

load_function('get_referrer'); echo get_referrer(); // referring url
← how to use this in app?
create log ...inout