yup, there is, but http_referrer only show's the page the user came from, not the page the user goes to
what you can do it point your links to one of your own pages
<a href="redirect.php?url=http://www.bbc.co.uk">
And on the redirect page, make a note of the user details.