Previous page variable
Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.
Comments on Previous page variable
Forum Regular
Usergroup: Customer
Joined: Nov 27, 2006
Total Topics: 187
Total Comments: 465
I'm sure there is a variable that can display the URL of the previous page a user was on, is there?
I'm trying to set up a special redirect that is determined by the refering page.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
You can get it with javascript (http://www.codeave.com/javascript/code.asp?u_log=7003) or PHP (<?php echo $_SERVER['HTTP_REFERER']; ?>).
But remember that some people block the referring page information.
Forum Regular
Usergroup: Customer
Joined: Nov 27, 2006
Total Topics: 187
Total Comments: 465
Thanks Paul, thats great.