Is there a way to determine the page that a user was just looking at? I don't care about sites outside of mine, but I would like to know where they were internally so I can display the correct data without having to use a variable in the url.
$_SERVER['HTTP_REFERER']