一个PHP页面包含的HTML文件里面使用FRAMESET,代码如下
<frameset rows="96,*,25" frameborder="0" framespacing="0" bordercolor="#ffffff">
<frame name="topFrame" src="http://www.baidu.com" scrolling="no" noresize id="topFrame" title="topFrame" >
<frameset cols="180,*" frameborder="0" framespacing="0" bordercolor="#ffffff" border="0" id="frame1">
<frame name="contents" src="http://www.baidu.com" name="leftFrame"  frameborder='no' id="leftFrame" title="leftFrame" MARGINWIDTH="0" MARGINHEIGHT="0" noresize><frame src="http://www.baidu.com" name="mainFrame"  noresize="noresize" id="mainFrame" title="mainFrame" frameborder="0" MARGINWIDTH="0" MARGINHEIGHT="0" frameborder='no' noresize>
</frameset>
<frame src="http://www.baidu.com" name="footFrame" id="footFrame" scrolling="No" noresize>
<noframes></noframes>
</frameset>
里面的frame好象无效,改成iframe可以显示,
直接浏览该HTML文件,可以显示,而浏览包含该文件的PHP文件却不行;
我用的是win2003+php5.0+iis,
不知道为什么,先谢过各位了。