Home  >  Article  >  Backend Development  >  iframe url 出现 does not permit cross-origin framing.

iframe url 出现 does not permit cross-origin framing.

WBOY
WBOYOriginal
2016-06-23 13:11:172497browse



Load denied by X-Frame-Options: https://www.google.com/maps/d/u/0/viewer?usp=*******   does not permit cross-origin framing.

 <div id="inline2" style="width:640px; height:480px; display: none;"><iframe src="https://www.google.com/maps/d/u/0/viewer?usp=******* " width="640" height="480"></iframe></div>    </div>


回复讨论(解决方案)

 does not permit cross-origin framing. 
不允许跨域访问框架。

你可以通过的的服务器中转框架页,以使他不跨域

 does not permit cross-origin framing. 
不允许跨域访问框架。

你可以通过的的服务器中转框架页,以使他不跨域



通过的的服务器中转框架页 ,没明白什么意思
可以给代码参考下吗?


变成

proxy.php 中抓取 https://www.google.com/maps/d/u/0/viewer?usp=******* 的内容并输出

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn