为什么我看不到我的html或任何类型的错误

why am I not seeing my html or any kind of error?

本文关键字:任何 类型 错误 html 我看 看不到 我的 为什么      更新时间:2023-09-26

我有我的代码,我试图看到,它应该问我登录信息,然后当我点击提交它应该POST到php脚本,但当我运行这个脚本我什么也没看到,白色的空白屏幕,没有错误…什么好主意吗?该文件名为login.php, HTML正文没有显示…

<html>
<head>
<title>Authentication</title>
</head>
<body>
<form action='loginLDAP.php' method='post' name='Auth'>
<?php TabTop("Please Login"); ?>
Please log in using your user name and your
portal password:<p>
<table cellspacing=3 cellpadding=3 class=ContentBodyTable>
   <tr>
      <td>Username: </td>
      <td><input type=text name=login size=16 maxlength=15 class=textInput></td>
   </tr>
   <tr>
      <td>Password: </td>
      <td><input type=password name=password size=16 maxlength=15 class=textInput></td>
   </tr>
   <tr>
      <td colspan=2><input type=submit value=Authenticate class=SubmitInput style='width:100'></td>
   </tr>
</table>
</form>
<?php TabBot(); ?>
<!-- Set the focus to the login text field onload. -->
<script language="JavaScript" type="text/javascript">
   document.Auth.login.focus();
</script>

</body>
</html>

试着去掉

在第12行。如果这不起作用,请尝试注释掉tabtop()调用。如果这给了您表单,那么调试该脚本。这个脚本看起来好像有逻辑错误,而不是语法错误,所以没有语法错误。