摘要: 我们来采集一个页面,通常情况下,我们会使用file_get_contents()函数来获取: 1 <?php 2 3 $str = file_get_contents('http://www.baidu.com'); 4 5 //或者是: 6 7 $str = file("http://www.ba 阅读全文
posted @ 2016-03-07 17:36 冷暖自知一抹茶ck 阅读(225) 评论(0) 推荐(0) 编辑