$_SERVER['HTTP_REFERER'] may or may not be set it comes from the browser and is highly un reliable, http is stateless, so in itself there's no native method of knowing where the browser previously was.

how are you doing the forwarding? can you add something like ?from=www-etc to the url when you forward, and check that at the destination?

    Write a Reply...