• 欢迎访问搞代码网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站!
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏搞代码吧

页面跳转后提示HTTP 异常 500(Internal Server Error):服务器尝试执行请求时遇到了意外情况

php 搞代码 4年前 (2022-01-22) 12次浏览 已收录 0个评论

页面跳转后提示HTTP 错误 500(Internal Server Error):服务器尝试执行请求时遇到了意外情况。
index.php跳转到chkadmin.php提示(服务器错误
网站在检索 http://localhost/shop/admin/chkadmin.php 时遇到错误。 该网站可能关闭进行维护或配置不正确。
以下是一些建议:
请稍后重新加载此网页。
HTTP 错误 500(Internal Server Error):服务器尝试执行请求时遇到了意外情况。)

index.php代码:

<html><head><title></title><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><link href="../css/font.css?7.1.34" rel="stylesheet"></head><body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"><p>&nbsp;</p><p> </p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><script language="javascript">function chkinput(form){if(form.name.value==""){alert("请输入用户名!");form.name.select();return(false);}if(form.pwd.value==""){alert("请输入用户密码!");form.pwd.select();return(false);}return(true);}</script><form name="form1" method="post" action="chkadmin.php" onSubmit="return chkinput(this)"><table width="545" border="0" align="center" cellpadding="0" cellspacing="0" id="__01"><tr><td height="226" background="images/default_01.gif">&nbsp;</td></tr><tr><td height<i style="color:transparent">本¥文来源gaodai$ma#com搞$代*码*网(</i><strong>搞代gaodaima码</strong>="45" align="right" background="images/default_02.gif"><table width="407" border="0" cellspacing="0" cellpadding="0"><tr><td width="57" align="center">用户名:</td><td width="94" align="center"><input type="text" name="name" size="14" maxlength="20" class="inputcss"></td><td width="53" align="center">&nbsp;密&nbsp;码:</td><td width="104" align="center"><input type="password" name="pwd" size="14" maxlength="20" class="inputcss"></td><td width="99">&nbsp;<input name="imageField" type="image" src="images/default_07.gif" width="74" height="24" border="0"></td></tr></table></td></tr><tr><td height="23" background="images/default_04.gif"></td></tr></table></form></body></html>

chkadmin.php代码

<?phpclass chkinput{var $name;var $pwd;function chkinput($x,$y){$this->name=$x;$this->pwd=$y;}function checkinput(){

搞代码网(gaodaima.com)提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请说明详细缘由并提供版权或权益证明然后发送到邮箱[email protected],我们会在看到邮件的第一时间内为您处理,或直接联系QQ:872152909。本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:页面跳转后提示HTTP 异常 500(Internal Server Error):服务器尝试执行请求时遇到了意外情况
喜欢 (0)
[搞代码]
分享 (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址