Jump to content

Get the wesbite before the referral

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
13 replies to this topic

#1
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
Is it possible to get the website before the referral website? I need to, help would be appreciated, can any one help?

Thanks.

#2
Guest_NeedHelp_*

Guest_NeedHelp_*
  • Guests
Like the site before the last site? Not that I know how but I bet you could in JavaScript?

#3
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
I don't think that is even possible, I was just asking. But I tried something with Javascript, and it did not work. Well after all it is not so important.

#4
CygnetGames

CygnetGames

    Programmer

  • Members
  • PipPipPipPip
  • 119 posts
I don't think it's possible - it doesn't seem like it would be.

What were you wanting to use it for? There may be another way to do what you were wanting.

#5
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
Well this was solved actually (I didn't implement it lol) but I wanted to know.. let's say that my website will be viewed in a frame, the referral would be the URL of the frame.. but I wanted to know the page before the frame so I could know from where that visit in a frame came from! (kind of confusing)

#6
CygnetGames

CygnetGames

    Programmer

  • Members
  • PipPipPipPip
  • 119 posts

TheComputerMaster said:

Well this was solved actually (I didn't implement it lol) but I wanted to know.. let's say that my website will be viewed in a frame, the referral would be the URL of the frame.. but I wanted to know the page before the frame so I could know from where that visit in a frame came from! (kind of confusing)

Ok, that makes sense.
Do you know how it was solved?

#7
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
Well it was solved because I didn't make it... as I couldn't lol.

#8
GHOwner

GHOwner

    Newbie

  • Members
  • Pip
  • 8 posts
Couldn't you just do the referral in the main page that specifies the frames?

#9
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
What if I had no control over the website that shows the frames? Let's say it was a PHP proxy website or something? I can't make the code on other websites unless I hack them ;)

#10
rockinaway

rockinaway

    Newbie

  • Members
  • Pip
  • 4 posts
If the webpage in the middle is yours then just add a form and have the HTTP_REFERER in that, then on the next page request $_POST of the HTTP_REFERER then you will have the website from 2 pages ago..

#11
rockinaway

rockinaway

    Newbie

  • Members
  • Pip
  • 4 posts
If the middle page is yours then add a form element to it that gets the HTTP_REFERER. On the next page request this with $_POST, and then you will have the link of 2 pages ago :)

#12
mclaughlin

mclaughlin

    Newbie

  • Members
  • Pip
  • 1 posts
sounds like a good idea