I have a page which redirects to another page. On the page it is redirected to, I need it to be able to recognise the URL which redirected the user to the new page. Is there a Super Global Variable which will retrieve this? I have tried "$_SERVER['HTTP_REFERER']", but this only works when the user has clicked on a direct link to the page.
Page 1 ---> Redirect ---> Page 2 (Retrieve Page 1 URL)
Thanks for any help in advance.