$adminpass)error("管理員密碼錯誤!"); else{ $data=dbmopen("class","w" ); dbmdelete($dat"/> $adminpass)error("管理員密碼錯誤!"); else{ $data=dbmopen("class","w" ); dbmdelete($dat">
3.刪除成員del.php3
require("common.php3");
$id=chop($id);
if(!isset($id))error( "請輸入要刪除的使用者ID !");
elseif($pwd$adminpass)error("管理員密碼錯誤!");
else{
$data=dbmopen("class ","w");
dbmdelete($data,$id);
dbmclose($data);
$data=dbmopen("password","w");
$data=dbmopen("password","w"); $data,$id);
dbmclose($data);
header("location:index.php3");
}
?>
4、公用文件common.php3
$adminpass="test";
function error($msg){
?>