Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 5 of 5

Thread: Redirected URL

  1. #1
    Join Date
    Oct 2005
    Location
    Spain, Valencia
    Posts
    20,492
    Tokens
    3,575
    Habbo
    GoldenMerc

    Latest Awards:

    Default Redirected URL

    Hi,

    So im going to have to put this in a example, As its quite complicated.
    Say if google.com redirected you to bing.com, Is there a way Bing.com can find that? E.g post it on there site, (That you came from google) If so can you help me
    Ross

  2. #2
    Join Date
    Jun 2005
    Posts
    4,795
    Tokens
    0

    Latest Awards:

    Default

    Use the HTTP referer header, this won't work in every situation though.

  3. #3
    Join Date
    Oct 2005
    Location
    Spain, Valencia
    Posts
    20,492
    Tokens
    3,575
    Habbo
    GoldenMerc

    Latest Awards:

    Default

    Well we were planning to base it off a user clicking a ImpulsePay iFrame, but apparently that will just come back as ImpulsePay.com, so instead think we are going to try note parameters (Yet i have no clue what these are)

  4. #4
    Join Date
    Jun 2005
    Posts
    4,795
    Tokens
    0

    Latest Awards:

    Default

    Thought this was about detecting if your user was sent from Google? Are you trying to detect the url of the site that the iframe is embedded in?

  5. #5
    Join Date
    Dec 2007
    Location
    Manchester
    Posts
    2,236
    Tokens
    118
    Habbo
    hamheyelliot

    Latest Awards:

    Default

    There are quite a lot of WordPress plugins that do this sort of thing (tell the user where they came from and even what search terms they use) so you might want to download them and dissect the code.

    http://wordpress.org/extend/plugins/referrer-detector/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •