$httplist = array( '1'=>"localhost", '2'=>"127.0.0.1", '3'=>"hi.cnscn.net", '4'=>"u.cnscn.net" ); if(!in_array(htmlspecialchars($HTTP_HOST),$httplist)){ header ("location:http://hi.cnscn.net"); }
查看全部评分
昭元
cobob
island520
使用道具 举报
本版积分规则 发表回复 回帖后跳转到最后一页
手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )
GMT+8, 2025-9-8 03:22 , Processed in 0.145581 second(s), 18 queries , Gzip On.
Powered by Discuz! X3.4
Copyright © 2001-2023, Tencent Cloud.