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! Quote 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 Quote 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!!! Quote 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 ? Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.