Jump to content


Photo

track the place we come from


  • Please log in to reply
3 replies to this topic

#1 pluginbaby

pluginbaby
  • Members
  • PipPipPip
  • Advanced Member
  • 37 posts

Posted 24 September 2006 - 05:20 PM

Is there a way or a function we can use to see which website we are coming from (url)?

There are some pages on my website I only want people to see if they come from my website ;)

#2 Daniel0

Daniel0
  • Staff Alumni
  • Advanced Member
  • 11,956 posts

Posted 24 September 2006 - 05:39 PM

$_SERVER['HTTP_REFERER']

#3 pluginbaby

pluginbaby
  • Members
  • PipPipPip
  • Advanced Member
  • 37 posts

Posted 24 September 2006 - 06:01 PM

thanks, works perfect ;)

#4 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 24 September 2006 - 06:08 PM

Be cautious though as the referer variable can be spoofed so dont reply heavily on this variable.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users