Webmastersite.net
Register Log In

Previous page variable

Comments on Previous page variable

webflair
Forum Regular

Usergroup: Customer
Joined: Nov 27, 2006

Total Topics: 187
Total Comments: 465
Posted Jan 19, 2010 - 7:22 AM:

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.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jan 19, 2010 - 10:35 AM:

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.
webflair
Forum Regular

Usergroup: Customer
Joined: Nov 27, 2006

Total Topics: 187
Total Comments: 465
Posted Jan 19, 2010 - 10:40 AM:

Thanks Paul, thats great.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.