这是什么网站?我被雷倒了。 只看楼主

  • 11# foass
  • 2011-1-21 19:03:54
啊。。。。。。 太山寨了
  • 12# cnweb
  • 2011-1-21 19:04:46
草  我也被累倒了  前几天我看到我的站被他搞了 他还比我高些呢
把域名解析过来不就得了?
太牛了
難怪 hostloc 一直不倒
怎么搞的?
强大 这是采集还是直接解析的
引用: index.php

<?php
error_reporting(0);
$site='www.im286.com';
$mysite='www.abc.com';
$url=strtolower(substr($_SERVER['REQUEST_URI'],1));
$fullurl='http://'.$site.'/'.$url;
$html=file_get_contents($fullurl);
$out=str_replace($site,$mysite,$html);
$out=str_replace('forumdata/cache/style_8_common.css','http://www.im286.com/forumdata/cache/style_8_common.css',$out);
$out=str_replace('forumdata/cache/style_8_viewthread.css','http://www.im286.com/forumdata/cache/style_8_viewthread.css',$out);
$out=str_replace('include/javascript/common.js','http://www.im286.com/include/javascript/common.js',$out);
echo $out;
?>




.htaccess

<IfModule mod_rewrite.c>

RewriteEngine on

RewriteBase /

RewriteRule ^(.+)$ index.php?noindex

</IfModule>
mark一下
  • 20# xiusha
  • 2011-1-22 14:39:12
反向代理吧?具体怎么做???
123下一页