Is it possible to take site address on which user was before entering my site

Discussion in 'PHP' started by t7584, May 3, 2006.

  1. #1
    Is it possible to take site address on which user was before entering my site
     
    t7584, May 3, 2006 IP
  2. chandubhai

    chandubhai Banned

    Messages:
    556
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    0
    #2
    yes!! check your $_SERVER variable. youll be pleased with the information you get there print_r($_SERVER);
     
    chandubhai, May 3, 2006 IP
  3. onlyican.com

    onlyican.com Peon

    Messages:
    206
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    $_SERVER["refer"] I think,
     
    onlyican.com, May 3, 2006 IP
  4. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #4
    $_server["HTTP_REFERER"]
     
    digitalpoint, May 3, 2006 IP
  5. exam

    exam Peon

    Messages:
    2,434
    Likes Received:
    120
    Best Answers:
    0
    Trophy Points:
    0
    #5
    $_SERVER['HTTP_REFERER']
    Code (markup):
    Whew, I finally got it to display as uppercase.
     
    exam, May 3, 2006 IP