Home  >  Article  >  Backend Development  >  小弟我打开 网页 index.html, 想同时 偷偷加载 a.htm

小弟我打开 网页 index.html, 想同时 偷偷加载 a.htm

WBOY
WBOYOriginal
2016-06-13 12:04:371646browse

我打开 网页 index.html, 想同时 偷偷加载 a.htm
我打开 网页  index.html, 想同时 偷偷加载  a.htm,

我在index.html里面如何加入  php代码
------解决方案--------------------
偷偷加载  a.htm ?
加到哪儿去?
------解决方案--------------------
这是什么需求? 看不懂。
------解决方案--------------------
最好举个例子来大家看下
------解决方案--------------------
你是想弄个隐藏还是啥?可以将ifarame隐藏打开你那个页面。无需PHP
------解决方案--------------------
如果是index.html需要加载php代码
包含include 或者 require 文件.php即可

如果index.html需要加载其他的xx.html
可以通过iframe加载

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