越简单越好!
采集的小小心得
发表于 2006-08-04 17:38    

今天弄好了对XXX音乐网的采集(PHP).感觉心情挺好.也是初次在这里弄了个博客.

介绍一下几个采集常用函数: file_get_contents,preg_match_all,explode,eregi_replace.

file_get_contents : 这个是用来对网页的源文件进行读操作,(就像读文件一样将返回为一个字符串).

查看详情已有978次阅读  |  0次点赞  |  0个评论
返回顶部 ^