开发者

Loading a website through another website

I am trying to understand how it is possible to load a website using an iframe, but make all links go 开发者_Python百科through your site. Thanks.


You can not, What you're willing to do is called a proxy.

You should get the target site in your server-side script (PHP+CURL e.g), find and replace links programatically and represnet the new data to the user.


You can't accomplish this with just HTML. The site you are linking to has a server-side application that transparently rewrites all the links in the page to go through their website.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜