Get title of referer page

Discussion in 'PHP' started by eshkolit, Aug 18, 2007.

  1. #1
    hi, i have one very important question:

    how i can get title of the referer page through simple link click?

    for example, i can easily get url by $_SERVER['HTTP_REFERER']

    so how i get referer title?

    thanks a lot!
     
    eshkolit, Aug 18, 2007 IP
  2. bobby9101

    bobby9101 Peon

    Messages:
    3,292
    Likes Received:
    134
    Best Answers:
    0
    Trophy Points:
    0
    #2
    you need to use file-get_contents($_SERVER['HTTP_REFERER']) and then extract the data between <title> and </title>
     
    bobby9101, Aug 18, 2007 IP