Neoblade62
Newbie
- Aug 4, 2011
- 5
- 0
Hey,
I currently have a problem with a site that recently disabled hotlinking of images. I have a tool creates a list of links allowing people to download the images of an online magazine viewer for offline use.
So now that they disabled anything that doesn't have them as a referer, it stopped working. I had success displaying the images using a seperate php file (xyz.php?url=...), but the problem with that is, that when I put the links in a Download Manager it downloads copies of xyz.php. If renamed they do infact display the image, but this is very cumbersome and I would like to make it more user friendly.
So to the request/question:
Is there any way I can use php or JS to make all links leaving a certain page (or frame) on my server, recieve a fake referer of the destination site?
(or if that is not possible then a predefined referer) (blank referer doesn't seem to work)
I have searched most of the forum and found a lot of posts, but most of them (found in the BH SEO forum) use a method that is causing problems with downloading the images. Also I am using a wordpress blog, which sometimes causes external scripts to give out the 404 page (even if excluded from the rewrite rules)
Also note: I already use a php script in order to carry out the XMLHttpRequest, but using that with the images works, but also gives me the downloading problem.
Thanks for your time!
I currently have a problem with a site that recently disabled hotlinking of images. I have a tool creates a list of links allowing people to download the images of an online magazine viewer for offline use.
So now that they disabled anything that doesn't have them as a referer, it stopped working. I had success displaying the images using a seperate php file (xyz.php?url=...), but the problem with that is, that when I put the links in a Download Manager it downloads copies of xyz.php. If renamed they do infact display the image, but this is very cumbersome and I would like to make it more user friendly.
So to the request/question:
Is there any way I can use php or JS to make all links leaving a certain page (or frame) on my server, recieve a fake referer of the destination site?
(or if that is not possible then a predefined referer) (blank referer doesn't seem to work)
I have searched most of the forum and found a lot of posts, but most of them (found in the BH SEO forum) use a method that is causing problems with downloading the images. Also I am using a wordpress blog, which sometimes causes external scripts to give out the 404 page (even if excluded from the rewrite rules)
Also note: I already use a php script in order to carry out the XMLHttpRequest, but using that with the images works, but also gives me the downloading problem.
Thanks for your time!
Last edited: