为什么在HTML中加载PHP后,网页本身不显示了???
比如:
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<title>测试</title>
</head>
<script language="javascript">
window.location.href="checklogin.php";
</script>
<body>
即使PHP中的内容为空我的网页也不会显示?是加载的时机不对吗?
我是想在网页加载前判断是否有权限,有就打开否者跳到其它页。