shripad03 Posted July 3, 2013 Share Posted July 3, 2013 Hi I have a dynamic url http://api.voicerss.org?key=XXXXXXXXXXXXXXXXX&src=hello+my+name+is+tara&hl=en-in. (the key is replaced) this is a tts engine which generates audio for the words inserted. I wanted to know what method can I use to download the generated mp3 automatically on the server and update the database. Please tell me where to start. Thanks! Link to comment https://forums.phpfreaks.com/topic/279836-fetching-mp3-from-dynamin-url/ Share on other sites More sharing options...
kicken Posted July 3, 2013 Share Posted July 3, 2013 You can just use copy if allow_fopen_wrappers is enable. Otherwise just make the request using cURL and save the results to a file using fopen Link to comment https://forums.phpfreaks.com/topic/279836-fetching-mp3-from-dynamin-url/#findComment-1439333 Share on other sites More sharing options...
shripad03 Posted July 4, 2013 Author Share Posted July 4, 2013 I am a newbie can you please give me any link for some examples. Thanks for the reply!!! Link to comment https://forums.phpfreaks.com/topic/279836-fetching-mp3-from-dynamin-url/#findComment-1439373 Share on other sites More sharing options...
trq Posted July 4, 2013 Share Posted July 4, 2013 Did you click on the copy link ? Link to comment https://forums.phpfreaks.com/topic/279836-fetching-mp3-from-dynamin-url/#findComment-1439374 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.