html5-网页用iframe嵌入ebay的一个搜索结果界面,界面显示不完全

WBOY
Release: 2016-06-02 11:34:10
Original
991 people have browsed it

html5javascriptphpiframe

我的iframe目标链接是这个,想利用iframe嵌在自己的网页里面
http://www.ebay.com/sch/i.html?_nkw=games&_in_kw=1&_ex_kw=&_sacat=0&_udlo=&_udhi=&_ftrt=901&_ftrv=1&_sabdlo=&_sabdhi=&_samilow=&_samihi=&_sadis=10&_fpos=&_fsct=&LH_SALE_CURRENCY=0&_sop=12&_dmd=1&_ipg=50

一开始直接用iframe里面src这个链接,空白一片,console里面显示的错误是:

Refused to display 'http://www.ebay.com/sch/i.html?_nkw=games&_in_kw=1&_ex_kw=&_sacat=0&_udlo=&…_samihi=&_sadis=10&_fpos=&_fsct=&LH_SALE_CURRENCY=0&_sop=12&_dmd=1&_ipg=50' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.

后来我自己建立一个文件xx.php,在这个文件echo file_get_content函数显示这个网页,结果只显示出上面的搜索框和旁边的边框,中间主内容出不来,请问怎么解决?

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!