下面是HTML的上,左,右的框架,为什么right.php不能被识别和解析,left.php的显示没问题?
在IE里面打开显示的是将right.php保存的对话框
<html>
<head>
</head>
<frameset rows="12%,*" framespacing="1" frameborder="yes" border="5" bordercolor="#8C9192">
<frame src="top.html">
<frameset cols="15%,*"framespacing="1" frameborder="yes" border="5" bordercolor="#8C9192">
<frame src="left.php" align="center">
<frame src="right.php" name="mydetail" noresize="noresize">
</frameset>
</frameset>
<noframes></noframes>
</html>
在IE里面打开显示的是将right.php保存的对话框
<html>
<head>
</head>
<frameset rows="12%,*" framespacing="1" frameborder="yes" border="5" bordercolor="#8C9192">
<frame src="top.html">
<frameset cols="15%,*"framespacing="1" frameborder="yes" border="5" bordercolor="#8C9192">
<frame src="left.php" align="center">
<frame src="right.php" name="mydetail" noresize="noresize">
</frameset>
</frameset>
<noframes></noframes>
</html>
只有在浏览器里以http开头才能解析PHP,我直接拖的话变成filed://d:/这就不对了
是的,PHP需要在web服务器端执行,在本地浏览文件时,浏览器本身是没有解析PHP代码的能力的。
但是,你在问题中怎么又说left.php能解析而right.php不能解析?