0
我有我的代码,我想看看,它假设要求我的登录信息,然后当我点击提交它应该发布到PHP脚本,但是当我运行这个脚本,我什么都看不到,白色的空白屏幕,没有错误。 ..有任何想法吗?该文件被命名为login.php中的HTML身体没有显示...为什么我没有看到我的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>
看看你的PHPerror日志。 –
我刚刚做了,我什么也没有得到error_reporting(-1); ... Html正文没有显示... – Bulvak
请确保'loginLDAP.php'存在于同一个文件夹中。如果您的文件托管在Linux服务器上(很可能),请确保您的文件名拼写正确:文件名区分大小写。 –