时间:2021-07-01 10:21:17 帮助过:21人阅读
index.php
$con = file_get_contents("http://it.sohu.com/s2010/5651/s274087241/index.shtml");
$preg="/·(.*)/U";
preg_match_all($preg,$con,$arr);
foreach($arr[1] as $id=>$v){
echo "".$arr[2][$id]."
";
}
?>
view.php
$con = file_get_contents($_GET[url]);
$preg="/
?>
http://www.bkjia.com/PHPjc/486111.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/486111.htmlTechArticlePHP小偷程序是采集的前身,有了小偷原理才会写采集。这是PHP100 创恩IT教育 培训给大家上课时候给大家留的作业。随手写了几行大概思路和...