Open the Link (dynamic) in an iframe of my new page in PHP

Discussion in 'PHP' started by vjondalalstreet, Feb 2, 2011.

  1. #1
    vjondalalstreet, Feb 2, 2011 IP
  2. mastermunj

    mastermunj Well-Known Member

    Messages:
    687
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    110
    #2
    You need to create another page which takes a URL as input and displays that url in an iFrame.
    More over, you will have to change all links on pages as well to point to that new page and actual url as parameter there.
     
    mastermunj, Feb 2, 2011 IP
  3. vjondalalstreet

    vjondalalstreet Peon

    Messages:
    45
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yes you have nailed my problem - I do not know how to read from url and then show that dynamically in the iFrame.

    Your help will be appreciated :)
     
    vjondalalstreet, Feb 2, 2011 IP
  4. mastermunj

    mastermunj Well-Known Member

    Messages:
    687
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    110
    #4
    Okay, if you know php & html, you can do it in few hours. If you don't, just hire someone and get it done.

    Following are the points to be taken care:
    1. Create a page which accepts URL as input.
    2. The page has to have a top bar and an iframe below to display the url content.
    3. In the existing code, wherever there is any external link, it needs to be changed to the new page url with the external link as parameter to it.
    4. Optional log for all such urls can be added for analysis if you wish.

    It should be simple to create a separate page as per your likings, but one needs to understand how your existing link structure is and how are external links displayed in code, then solution for the same can be applied.
     
    mastermunj, Feb 3, 2011 IP