How to send fake referer whitout curl? I use curl to grab data from the site fank.mobi At the time of downloading files hotlink the system does not let you download the file because the referer sent. I do not want to save the files on my server. Anyone have an idea how to download without sending the referer?
send fake referer in fank.mobi
Collapse
X
-
not work friend
Originally posted by something else View Postcould try:
PHP Code:header("Referrer: somesite.con");
I've tried opening the link using target _blank did not work.
I've tried to open the link in the header using php eg:
header ("Referer: http:// site2.com");
header ("Location: http:// site2.com");
and did not work.
I've tried opening the link using javascript document.location.href = "site2.com"; and did not work
Could anyone help me? Thank you in advance for your help.
Comment
-
Originally posted by GumSlone View Postyou cant send referred with header(); it would never worked
but you can send it with curl like this:
PHP Code:curl_setopt($ch, CURLOPT_REFERER, 'http://www.example.com/1');
Comment
Comment