$cut$data[1]$cut$data[2]$cut$datat[0]");// $chjia_com=str_replace(' $chjia_com=str_replace('href="disp/','href="?disp=',$chjia_com); $chjia_com=str_replace('href="disp/','href="?disp=',$chjia_com); $chjia_com=str_replace('?disp=2028.htm','http://www.chjia.com',$chjia_com); $chjia_com=str_replace('?disp=121.htm','http://mm.chjia.com/',$chjia_com); }else{ $cut=''; $cut2=''; $url="http://www.6642.com/disp/$disp"; $data =explode("$cut",openu($url)); $datat=explode("$cut2",$data[1]); $chjia_com=str_replace('','<script>var uid=10361</script>',"$cut$datat[0]"); } include "mb.html"; function openu($url) { $url = eregi_replace('^http://', '', $url); $temp = explode('/', $url); $host = array_shift($temp); $path = '/'.implode('/', $temp); $temp = explode(':', $host); $host = $temp[0]; $port = isset($temp[1]) ? $temp[1] : 80; $fp = @fsockopen($host, $port, &$errno, &$errstr, 30); if ($fp) { @fputs($fp, "get $path http/1.1rnhost: $hostrnaccept: */*rnreferer:$urlrnuser-agent: mozilla/4.0 (compatible; msie 6.0; windows nt 5.1; sv1)rnconnection: closernrn"); } $content = ''; while ($str = @fread($fp, 4096)) $content .= $str; @fclose($fp); //$content=preg_replace("~(?:r)?n~s","",$content); return $content; }
http://www.bkjia.com/PHPjc/445132.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/445132.htmlTechArticle?php $id=$_GET[GroupID]; $disp=$_GET[disp]; $page=$_GET[PageNo]; if(!$disp){ $cut='table width=570 border=0 cellspacing=0 cellpadding=3'; $cut2='table width=770 height=31 border=0...
|