Masked Page URL forwarding

Discussion in 'PHP' started by irongloves, Jun 25, 2007.

  1. #1
    Hello,

    My question is:
    Is it possible to use my website and use any script or anything that will forward my pages to other website pages?

    For example:
    I have www.mywebsite.com and i want to make a page www.mywebsite.com/new_york.html that forward visitors to another website page www.otherwebsite.com/new_york.html.

    The main fact is that this forwarding should be "masked" so that user keep see www.mywebsite.com/new_york.html in the browser bar even if he is on www.otherwebsite.com/new_york.html.

    And so on for other pages www.mywebsite.com/los_angeles.html in the browser bar even if he is on www.otherwebsite.com/los_angeles.html.

    Thank you for your help. I'm a total beginner.

    Irongloves
     
    irongloves, Jun 25, 2007 IP
  2. UnrealEd

    UnrealEd Peon

    Messages:
    148
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #2
    instead of redirecting the users, you can include the page:
    include ( "http://www.otherwebsite.com/new_york.html" );
    PHP:
     
    UnrealEd, Jun 25, 2007 IP