How spoof referrer using curl
- by golu molu
I am using curl code below to spoof referrer , it works fine but there is error on every page - Curl error:
$url = somesite.com
function doMagic($url)
{
$curl = curl_init();
$header[0] = "Accept: text/xml,application/xml,application/xhtml+xml,";
$header[0] .= "text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5";
$header[] =…