摘要: //采集htmlfunction getwebcontent($url){ $ch = curl_init(); $timeout = 10; curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $time... 阅读全文
posted @ 2009-12-26 13:14 般若随风 阅读(331) 评论(0) 推荐(0) 编辑