摘要:
function getHtml($url, $charset='utf-8'){ $curl = curl_init(); //curl_setopt($curl, CURLOPT_HTTPHEADER, array('X-FORWARDED-FOR:192.168.168.1', 'CLIENT-IP:192.168.168.1'));//IP curl_setopt($curl, CURLOPT_URL, $url); curl_setopt($curl, CURLOPT_REFERER, ""); //来路 $user 阅读全文
posted @ 2013-04-11 11:31 PHP-张工 阅读(2887) 评论(0) 推荐(0) 编辑