greatdealhos
12-02-2003, 02:28 PM
Hi, I am just wondering
for example, you can download a files from www.websites.com/seeit.mov
you can either download it directly from www.websites.com or someone can just email you the link, and you download the files without seeing the websites.
so the question is how do you enable someone to download the files but have to first seeing the www.websites.com first (since the websites is sponsored and have advertisement of banner).
thanks in advance
Sheps
12-02-2003, 02:51 PM
One way, would be to find a download protector, or make your own.
Pretty much, all you really have to do is take the file name you want to download as a argument(ie: downloader.php?name=seeit&ext=mov
Then you can go and send the headers(For example: text/html or something else for movies)
And then
$fp = fopen("./filename.ext","r");
echo fread($fp);
fclose($fp);
It is fairly simple, but unless you know programming you could get yourself in trouble. I suggest you go to http://www.hotscripts.com and look for a Free Downloader.
Burhan
12-03-2003, 05:01 AM
Another solution would be to make a "virtual" link that looks like a download link.
For example
http://www.domain.com/download/file.mov
would actually be a HTML page that a user would have to see, then click on a link/button/whatever to download the actual file.
blackbelt080
12-12-2003, 11:10 AM
Originally posted by Sheps
One way, would be to find a download protector, or make your own.
Pretty much, all you really have to do is take the file name you want to download as a argument(ie: downloader.php?name=seeit&ext=mov
Then you can go and send the headers(For example: text/html or something else for movies)
And then
$fp = fopen("./filename.ext","r");
echo fread($fp);
fclose($fp);
It is fairly simple, but unless you know programming you could get yourself in trouble. I suggest you go to http://www.hotscripts.com and look for a Free Downloader.
Hotscripts is a good site....I recommend it :)