how can I force a download to start using curl? I want it to begin an mp3 file download from a given mp3 url. Since a simple readfile isn’t working.
more specifically : What headers do I have to set, then how do I retrieve and display the audio file using curl.
Thanks
I would take a look at Kohana’s Request::send_file(); as it offers pretty much everything you’re looking for (and also read RFC 2616 but I guess no one does that nowadays).