= 5 && strlen($p = trim($_POST['password'])) >= 5 && $p === trim($_POST['password2'])) { $data = ""; if (file_put_contents("admin.php", $data)) { header("Location: {$_SERVER['SCRIPT_NAME']}?{$_SERVER['QUERY_STRING']}"); exit; } else { $info = "没有权限写入配置文件!"; } } else { $info = "没有正确输入配置信息!"; } } require "xhtml.php"; header("Content-Type:text/html;charset=UTF-8"); xhtml_head("配置系统"); echo "