Hide IFrame referrer

Discussion in 'PHP' started by Luke Jones, Jul 23, 2007.

  1. #1
    Hello,
    Is it possible to hide the fact that you're showing a site through an Iframe?
    How can the referrer be hidden?

    Thanks for your help.

    Luke
     
    Luke Jones, Jul 23, 2007 IP
  2. ErectADirectory

    ErectADirectory Guest

    Messages:
    656
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You could scrape the site (cURL or file_get_contents in php) and display it on your site locally. At this point you can just point the iframe to your site instead of the other one.
     
    ErectADirectory, Jul 23, 2007 IP
  3. alemcherry

    alemcherry Guest

    Best Answers:
    0
    #3
    I am sure thats not what he is looking for!

    I am not if it works, but you may try using javascript to document.write the iframe. You may also try to fetch the iframe content using XMLHTTP in javascript and write it. This must work, but again you need to test.

    Here is an example:

    http://jmaguire.com/downloads/source_code/javascript/client_side_include/
     
    alemcherry, Jul 23, 2007 IP
  4. Luke Jones

    Luke Jones Peon

    Messages:
    427
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Hello,
    Thanks for your replies.
    I'm already scraping from the sites, but the page does not look good, so it may be better to show the page in an iframe.
    Alemcherry, with that method, is your site hidden as the referrer?
     
    Luke Jones, Jul 23, 2007 IP
  5. Barti1987

    Barti1987 Well-Known Member

    Messages:
    2,703
    Likes Received:
    115
    Best Answers:
    0
    Trophy Points:
    185
    #5
    What you want to do is impossible.

    Peace,
     
    Barti1987, Jul 23, 2007 IP