![]() |
Download audio from mobile website I have a customer that want to be able to let people download their speech from their mobile website. I added the p3 file which plays fine but it cannot be downloaded. Anyone know how you can organize a download. Quentin |
Re: Download audio from mobile website I think if I remember correctly there's an 'app' called Beam Me Up Scotty that lets you download files straight to your smartphone though not sure if it's what you're looking for Q...if it is then you'll need to add a link on the page Neil B :cool: |
Re: Download audio from mobile website Quote:
<WARNING GEEK TALK> You have to pass the file name variable over to another file that handles the file type to enable to be register as a downloadable attachement... sounds kinda technical i know - sorry i dont know any other way to explain it... you would create a link/button as follows: http://www.yourdomain.com/download.php?file=123456 Then the download.php would be something like this: Code: <?phpif you see we also don't send the file extension and simply add that during the process - again that prevents someone trying to execute a script too additionally we have our own validation script that checks and makes sure the variable is a number too... and then tells the script to proceed... you can see in the else statement we handle non numeric variables in a casual manner! lol what you could do if you want to download a keyword rich domain file name you could simply say do a conditional statement like: if file = 123456 download this file 80s-disco.mp3 </WARNING GEEK TALK> if this looks/sounds like a bunch of static white noice lol or you need more info or even to outsource this to us just drop me a PM cheers, Jay |
| All times are GMT -6. The time now is 06:44 PM. |