Page is a not externally linkable
- Code, Content, and Presentation
-- PHP Server Side Scripting
---- Get referring page before variables added


generic - 8:49 pm on Jan 18, 2013 (gmt 0)


I want to try to store the referring page so that I can access it even if I reload the current page with a new variable and I'm just stumped.

For example, if I go from catalog.php?&category=10 to catalog.php?product=25, I want to be able to go back to catalog.php?category=10 even if I add variables onto the product part (ie, catalog.php?product=25&a=like). In the latter case, when I go back, it will return me to the product listing again, not the original category listing.

Any help would be appreciated.


Thread source:: http://www.webmasterworld.com/php/4537259.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com