We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3749
    • 24,544 Posts
    You probably know this, but just in case: HTTP_REFERER will always be empty if you type a page address in the browser rather than following a link, so make sure you're following a link when testing.


    You might be able to do something goofy with a forwarding page, like having .htaccess forward the user to an intermediate page which captured the HTTP_REFERER, saved it in a $_SESSION variable, and forwarded the user to the real target page where you could grab the $_SESSION variable. I'm not sure it would work.
      Did I help you? Buy me a beer
      Get my Book: MODX:The Official Guide
      MODX info for everyone: http://bobsguides.com/modx.html
      My MODX Extras
      Bob's Guides is now hosted at A2 MODX Hosting