Con*_*ney 17
您可以使用iframe或file_get_contents();
IFRAME:
<iframe src="http://google.com" style="width: 100%; height: 100%;">
Run Code Online (Sandbox Code Playgroud)
file_get_contents()函数:
<?php
echo file_get_contents('http://google.com');
?>
Run Code Online (Sandbox Code Playgroud)
使用file_get_contents(),您需要注意使用相对URL获取的网站,这将破坏CSS,图像,Javascript等.
| 归档时间: |
|
| 查看次数: |
37328 次 |
| 最近记录: |