Help to load referer page

Discussion in 'Programming' started by mq778b, Feb 5, 2010.

  1. #1
    In my apache log file I have a record:

    1. Clear case:

    Referer:

    http://www.google.com/search?hl=en&rls=com.microsoft:en-us:IE-SearchBox&rlz=1I7GWYA&q=rick+allenberg&start=50&sa=N&cts=1265430541118


    Then I copy/paste it to addres bar of IE and get referer page. All OK!

    2. Unclear case:

    Referer:

    http://www.google.it/url?sa=t&source=web&ct=res&cd=5&ved=0CBoQFjAE&url=http%3A%2F%2Fwww.we-globe.net%2FWebLab%2FSiteCommonGraveReport.php%3Fportal%3Dwww.tga-casino-hotel-management.co.uk%2F&rct=j&q=programe+kompjuteri+per+menaxhim+biznesi+tral&ei=LgtsS5GCPI36_Ab4jvHIBg&usg=AFQjCNF2rWEvKfrrTaW9iW4LXyERrZuD8w

    When I copy/paste it to browser address bar I'am getting direcly to my page,
    and not a referer page. Seeming it is redirected in someway.
    (and $_SERVER[HTTP_REFERER] is not set!)

    Help me, please, figure out how I can access the real referer page????
    I even fail to learn what google query or link builds url

    http://www.google.it/url?....

    (usual search builds http://www.google.it/search?....).

    Any help will be highly appreciated.
     
    mq778b, Feb 5, 2010 IP
  2. Bec0de

    Bec0de Well-Known Member

    Messages:
    46
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    115
    #2
    http://www.google.it/url?sa=t&source=web&ct=res&cd=5&ved=0CBoQFjAE&url=http%3A%2F%2Fwww.we-globe.net%2FWebLab%2FSiteCommonGraveReport.php%3Fportal%3Dwww.tga-casino-hotel-management.co.uk%2F&rct=j&q=programe+kompjuteri+per+menaxhim+biznesi+tral&ei=LgtsS5GCPI36_Ab4jvHIBg&usg=AFQjCNF2rWEvKfrrTaW9iW4LXyERrZuD8w
    Code (markup):
    Just extract the q parameter from the Google url:
    http://www.google.it/search?q=programe+kompjuteri+per+menaxhim+biznesi+tral&ei=LgtsS5GCPI36_Ab4jvHIBg&usg=AFQjCNF2rWEvKfrrTaW9iW4LXyERrZuD8w
    Code (markup):
     
    Bec0de, Feb 6, 2010 IP
  3. mq778b

    mq778b Peon

    Messages:
    86
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    That is a problem!!
    I can't debug my server script "in real-time", because it does not set $_SERVER[HTTP_REFERER] when I try to reproduce manually access from www.google.com/url?...

    Does anybody knows on what conditions google creates link of that type? (www.google.com/url?...)
    That it is the question!?
     
    mq778b, Feb 6, 2010 IP