日期:2014-05-17 浏览次数:20528 次
<?php $ch=curl_init(); curl_setopt($ch,CURLOPT_URL,"http://www.aaa.com/"); curl_setopt($ch,CURLOPT_HTTPHEADER,array('X-FORWARDED-FOR:8.8.8.8','CLIENT-IP:8.8.8.8'));//构造IP curl_setopt($ch,CURLOPT_REFERER, "http://www.xxxx.com/");//构造来由 curl_setopt($ch,CURLOPT_HEADER, 1); $out = curl_exec($ch); curl_close($ch);