title: HTTP_REFERER the same site but works in Javascript?
body: <p>I'm trying to capture the <code>HTTP_REFERER</code> using PHP when clicking in from Google. If I print it out on the page after coming through, it says the referrer is the same site as I'm on.</p>
  
  <p>I would assume it's being redirected, but if I type <code>document.referrer</code> in the console, it correctly shows Google.co.uk. What is going on here?</p>