html注册跳转php错误500,页面跳转后提示HTTP 异常 500(Internal Server Error):服务器尝试执行请求时遇到了意外情况...
頁面跳轉后提示HTTP 錯誤 500(Internal Server Error):服務器嘗試執行請求時遇到了意外情況。
index.php跳轉到chkadmin.php提示(服務器錯誤
網站在檢索 http://localhost/shop/admin/chkadmin.php 時遇到錯誤。 該網站可能關閉進行維護或配置不正確。
以下是一些建議:
請稍后重新加載此網頁。
HTTP 錯誤 500(Internal Server Error):服務器嘗試執行請求時遇到了意外情況。)
index.php代碼:
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);
}
| ? | |||||
| |||||
chkadmin.php代碼<?php
class chkinput
{
var $name;
var $pwd;
function chkinput($x,$y)
{
$this->name=$x;
$this->pwd=$y;
}
function checkinput()
{
本文原創發布php中文網,轉載請注明出處,感謝您的尊重!
總結
以上是生活随笔為你收集整理的html注册跳转php错误500,页面跳转后提示HTTP 异常 500(Internal Server Error):服务器尝试执行请求时遇到了意外情况...的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 10倍AMD超算性能 NVIDIA开建A
- 下一篇: php foreach 收邮件_php机