php.net新闻拦截

WBOY
發布: 2016-06-23 14:28:45
原創
819 人瀏覽過

简介:这是php.net新闻拦截的详细页面,介绍了和php,有关的知识、技巧、经验,和一些php源码等。

class='pingjiaF' frameborder='0' src='http://biancheng.dnbcw.info/pingjia.php?id=323420' scrolling='no'>
//请自己修改下面变量.
$newsnum=7;
$space=20;
$width=400;
$headclass="class5";
$lowerclass="class6";
//变量设置结束.

print "";

$opened=$QUERY_STRING;
if ($opened=="") { $opened="-1"; }

print "";

$file=file('http://www.php.net');

$where="";
$a=0;
while ($a $file[$a]=chop ($file[$a]);
if ($file[$a]=="") {
$where=$a;
break 1;
}
$a++;
}

$file=file('http://www.php.net');
$a=$where+1;
$b=0;
while ($b if (substr($file[$a],0,4)=="

" & substr($file[$a],-6,5)=="

" | substr($file[$a],0,4)=="

" & substr($file[$a],-7,5)=="

") {
$from=$to;
$to=$a;
}

if ($to==$a & $from!="") {
$c=$from;
if ($b==$opened) {
while ($c if (substr($file[$c],0,9)=="php.net新闻拦截 }
$file[$c]=eregi_replace("src="","src="http://www.php.net/",$file[$c]);
$file[$c]=eregi_replace("href="","href="http://www.php.net/",$file[$c]);
$file[$c]=eregi_replace("

","

www. php.net
",$file[$c]);
$file[$c]=eregi_replace("","
",$file[$c]);
print $file[$c];
$c++;
}
} else {
if (substr($file[$c],0,9)=="php.net新闻拦截 }
$file[$c]=eregi_replace("src="","src="http://www.php.net/",$file[$c]);
$file[$c]=eregi_replace("href="","href="http://www.php.net/",$file[$c]);
$file[$c]=eregi_replace("

","

",$file[$c]);
$file[$c]=eregi_replace("","
",$file[$c]);
print $file[$c];
}
$b++;
}
$a++;
}
print "
";
print "";
?>

“php.net新闻拦截”的更多相关文章 》

爱J2EE关注Java迈克尔杰克逊视频站JSON在线工具

http://biancheng.dnbcw.info/php/323420.html pageNo:16
相關標籤:
來源:php.cn
本網站聲明
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn
熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板
關於我們 免責聲明 Sitemap
PHP中文網:公益線上PHP培訓,幫助PHP學習者快速成長!