Happy New Year to all of DP members! Please help me make the following (will try to be as short as possible): 1. will put .exe (or any other) file for download on my site 2. want to make the following: when person puts direct link on his site on file I am hosting on my server - I want other html to be shown. This is really common on File download sites such as Betanews or Majorgeeks etc. For example, when you try downloading XP Codec pack from vendor site you are given the following link - http://www.xpcodecpack.com/dl/XP-Codec-Pack-2.4.6.exe. When you copy/paste it to a browser you get the following - http://www.xpcodecpack.com/error (I don't have anything with this particular software, it is just an example). All you get is the message: "You have tried to download XP Codec Pack, but an error occured. Your session is empty, you need to enable cookie to download our files. Please return to download page" I believe this is easy to make, but I really don't know how to do it... My site is in pure HTML... Thank you very much in advance!
You will need the pages in php Check referrer with $_SERVER['HTTP_REFERER']; and if its different than ur domain give that message
Hi, How about this? You use a link cloaker to encode the .exe link. The actual download address is: http://www.domain.com/download/prog.exe You encode the url and put it in the same directory as the .exe and name it index.html You send people to: http://www.domain.com/download/ and they just see this link. Have a look at Link Cloaker Any ??'s, let me know. Good luck. Mike
Thanks for the tip Mike, but when you download the file you may see the exact URL of the file (at least when downloaded with Firefox) and after that you may put link on your site to download file from other peoples server. To make this simplified, I don't want other people to put link on the file which is on my server without, at least, showing my download page or software review page. In that case, all I got is lost web space.
Hi again, Here's a demo click on this link http://www.mike-hayes.nl/ultimatesupertip/ This is a "cloaked" link which sends you to another page/place but you only see the original url. This is what you wanted I thought. And I set up a test for you. Click on this link: http://www.mike-hayes.nl/test/ The document you download is on a completely different site - mike-hayes.com. By the way it's an article I wrote, quite safe. Any more ??'s let me know. Mike
Hi Mike! I know how to redirect DL but in this case I may see that origin URL is "http://www.mike-hayes.com/tester.zip". The fact is that I may put this link on my website or copy/paste it in browser and download it. In my origin thread I've put link "http://www.xpcodecpack.com/dl/XP-Codec-Pack-2.4.6.exe" as an example. If you put it in your browser's address bar you get error page "http://www.xpcodecpack.com/error". And this is what I really need... I've made redirect simply by using "<meta http-equiv="REFRESH" content="1;url=http://www.XYZ.com/aaa.exe">" where content is number of seconds for DL page to be refreshed. But after downloading this aaa.exe file you may just put "http://www.XYZ.com/aaa.exe" in address bar or competitor may use it on his website and safely offer DL link as his own, and that's what I wanted to avoid...
gRicky, Lord - please refer to the post above and advise if your suggestions may resolve what I needed? Thank you!!!