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);
dbmdelete($data,$id);
dbmclose($data);
header(location:index.php3);
}
?>
4、公用文件common.php3
$adminpass=test;
function error($msg){
?>