摘要:
function get_web_page( $url ) { $options = array( CURLOPT_RETURNTRANSFER => true, // return web page 返回网页 CURLOPT_HEADER => false, // 不返回头信息 CURLOPT_FOLLOWLOCATION => true, // follow redirects CURLOPT_ENCODING => "", // handle all encodings CURLOPT_USERAGENT => "spider& 阅读全文
posted @ 2011-09-05 17:21
Likwo
阅读(4753)
评论(0)
推荐(0)