html注册跳转php错误500,页面跳转后提示HTTP 异常 500(Internal Server Error):服务器尝试执行请求时遇到了意外情况...
頁面跳轉(zhuǎn)后提示HTTP 錯誤 500(Internal Server Error):服務(wù)器嘗試執(zhí)行請求時遇到了意外情況。
index.php跳轉(zhuǎn)到chkadmin.php提示(服務(wù)器錯誤
網(wǎng)站在檢索 http://localhost/shop/admin/chkadmin.php 時遇到錯誤。 該網(wǎng)站可能關(guān)閉進行維護或配置不正確。
以下是一些建議:
請稍后重新加載此網(wǎng)頁。
HTTP 錯誤 500(Internal Server Error):服務(wù)器嘗試執(zhí)行請求時遇到了意外情況。)
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()
{
本文原創(chuàng)發(fā)布php中文網(wǎng),轉(zhuǎn)載請注明出處,感謝您的尊重!
總結(jié)
以上是生活随笔為你收集整理的html注册跳转php错误500,页面跳转后提示HTTP 异常 500(Internal Server Error):服务器尝试执行请求时遇到了意外情况...的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 10倍AMD超算性能 NVIDIA开建A
- 下一篇: 动态规划算法php,php算法学习之动态