代码如下 | 复制代码 |
$sn = strtolower($_server['server_name']?$_server['server_name']:$_server['http_host']); $query = trim(@$_server['request_uri']); $sn = str_replace('http://','',strtolower($sn)); $url ='www.111cn.net'; if( $sn !=$url || strpos($query,'index.php')) { header( "http/1.1 301 moved permanently" ); header( "location: http://$url" ); } |
//带参数
代码如下 | 复制代码 |
$url = "http://".$url.$_server["request_uri"]; |
已抢65162个
抢已抢28714个
抢已抢15637个
抢已抢7891个
抢已抢9855个
抢已抢20015个
抢