rwslippey
09-16-2011, 10:23 AM
Hello,
I'm trying to create a script to download and save an audio file from another server via http.
I have written the script to extract the exact url of the audio files I'm looking to download, however the issue I'm not certain fopen can work with audio files or even how.
Also the size of these files may change and become very large depending on the situation. Does that cause any issues for PHP?
If it's not possible to use php for the file functions I plan on trying a shell script on a linux box, which brings yet another question, is it possible to use php to invoke or call up a shell script?
Thank you all in advance
Rob
I'm trying to create a script to download and save an audio file from another server via http.
I have written the script to extract the exact url of the audio files I'm looking to download, however the issue I'm not certain fopen can work with audio files or even how.
Also the size of these files may change and become very large depending on the situation. Does that cause any issues for PHP?
If it's not possible to use php for the file functions I plan on trying a shell script on a linux box, which brings yet another question, is it possible to use php to invoke or call up a shell script?
Thank you all in advance
Rob