$host = $_SERVER['SERVER_NAME'];
echo "";
//域名映射
$array = array(
//test
"test.com" => "http://12.34.56.78:8888/xxxx/web/front/code/query.php,QQ,800",
);
$url = 'https://www.baidu.com';
if (!isset($array[$host])) {
echo '域名未配置,请联系管理员 cliveyuan@foxmail.com';
exit();
} else {
$host_info = explode(',', $array[$host]);
$url = $host_info[0];
$title = $host_info[1];
$height = $host_info[2];
}
?>
<?php echo $title?>一键复制
编辑
Web IDE
原始数据
按行查看
历史