Other than setting a cookie, determine if a user navigated to page via link?

Discussion in 'PHP' started by stringfellows, Nov 7, 2007.

  1. #1
    Hi sorry about the cryptic title.

    Is there a way, other than setting a cookie, to determine if a user navigated to a website via link? Preferably by accessing some value in the $_SERVER object?

    Thanks.
     
    stringfellows, Nov 7, 2007 IP
  2. garbageman

    garbageman Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Most browsers send referrer info. (url of the previous site)
    $_SERVER['HTTP_REFERRER']
     
    garbageman, Nov 7, 2007 IP