2024最新版守约者二级域名分发系统 在线域名解析

时间:2024-04-14 18:54:32
header("Content-type: text/html; charset=utf-8"); error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE); ini_set('display_errors', '1'); define('WWW_ROOT', dirname(__FILE__) . DIRECTORY_SEPARATOR); function random($length, $numeric = 0): string { $seed = base_convert(md5(microtime().$_SERVER['DOCUMENT_ROOT']), 16, $numeric ? 10 : 35); $seed = $numeric ? (str_replace('0', '', $seed).'012340567890') : ($seed.'zZ'.strtoupper($seed)); $hash = ''; $max = strlen($seed) - 1; for($i = 0; $i < $length; $i++) { $hash .= $seed[mt_rand(0, $max)]; } return $hash; } $config = [ 'siteName' => "守约者二级域名分发系统", 'siteVersion' => "V1", 'tablePrefix' => "fenfa" ]; $msg = ''; $lockFile = "./install.lock"; $databaseConfigFile = "../includes/config.php"; session_start();