Get original URL referer with PHP? -


I get the referer url to get the $ _ server ['HTTP_REFERER']; I'm using . This works until the user clicks on the second page and the reloading on the final page changes.

How do I store the origin outlined URLs?

Store it in a cookie (if it is acceptable for your situation), or in the session variable.

  session_start (); If ($ ($ _SESSION ["origurl"]) $$$ _ $ ["origur"] = $ _SERVER ["HTTP_REFERER"];  

Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

jquery - SimpleModal Confirm fails to submit form -

php - Multiple Select with Explode: only returns the word "Array" -