Date: 05/12/00
- Next message: Zakaria: "[phplib] Template patches: New Functionality and a lot of bugfixes"
- Previous message: Omar List: "Re: [phplib] Caching"
- Next in thread: Sascha Schumann: "Re: [phplib] Protected Files"
- Reply: Sascha Schumann: "Re: [phplib] Protected Files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
OK I finally got the MP3 downloading to work. I had to use this:
Header("Content-Type: application/octet-stream");
Header("Content-Length: ".filesize($full));
Header("Content-Disposition: attachment; filename=$file");
Header("Content-Description: PHP3 Generated Data" );
The Content-Length header was needed; it wouldn't download with the right
filename as given without it.
Anyways, I have some more questions: When I download something, it wont use
GetRight if that is installed -- and I would like it to, because GetRight is
real nice especially if you get cut off and want to resume the download, and
it remembers a list of things to download. Is there any way to get it to
download through one these download manager programs? How do those sites
like Tucows cause a download to happen automatically without pushing any
buttons??
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: Zakaria: "[phplib] Template patches: New Functionality and a lot of bugfixes"
- Previous message: Omar List: "Re: [phplib] Caching"
- Next in thread: Sascha Schumann: "Re: [phplib] Protected Files"
- Reply: Sascha Schumann: "Re: [phplib] Protected Files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

