开发者

Loading a website through another website

开发者 https://www.devze.com 2023-02-16 16:48 出处:网络
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.

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

精彩评论

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