$ch = curl_init();
curl_setopt ($ch, CURLOPT_URL, "http://www.111cn.net");//目标
curl_setopt ($ch, CURLOPT_REFERER, "http://www.111cn.net/ ");//伪造来路
$result = curl_exec ($ch);
curl_close ($ch);
print_r($result);
$ch = curl_init();
curl_setopt ($ch, CURLOPT_URL, "http://www.111cn.net");//目标
curl_setopt ($ch, CURLOPT_REFERER, "http://www.111cn.net/ ");//伪造来路
$result = curl_exec ($ch);
curl_close ($ch);
print_r($result);
非特殊说明,本博所有文章均为博主原创。
如若转载,请注明出处:https://itpony.com/show/21.html