The following warnings occurred: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
|
Downloads? - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16) +--- Thread: Downloads? (/showthread.php?tid=3420) |
Downloads? - Duulicious - 2012-08-10 What's the best and the most secure way to host files (mp3) on my site and allow people to download them just by clicking? Code: <?php I found this after some browsing, does it look like it'd work? I just ended up compressing it. I was hoping I could just have a download link for the .mp3. Downloads? - shawn_a - 2012-08-10 Some browsers will try to stream .mp3 files. You could always just say "right click , save as" on there. Downloads? - Duulicious - 2012-08-10 I just decided to compress it and have it download that. That was the problem I was having, it kept trying to stream the .mp3 and not download. I also have it hosted on mediafire as a alternative. Downloads? - yojoe - 2012-08-10 Have you tried to add such directives at the beginning of .htaccess file in your root dir ? Code: ForceType application/octet-stream .mp3 Code: <FilesMatch "\.(mp3)$"> Downloads? - Duulicious - 2012-08-10 Will that force it to download and not stream? If that's the case will that stop my players from playing the .mp3? Downloads? - yojoe - 2012-08-10 Try it out instead of asking. Downloads? - giggty - 2012-08-11 Quote:Try it out instead of asking. LOL Downloads? - Duulicious - 2012-08-11 Tried it, shit got fucked all up. Spent hours fixing it. Great advice. Downloads? - yojoe - 2012-08-11 Hours on fixing a rewrite rule ? Just delete it, and if webserver doesn't reload them automatically wait couple minutes. Such rules can't break physically anything, unless you set them to do such things. On webhosts I'm working, all things I develop work fine. But I can't recall you mentioned anything about your settings, so next time have on mind, that no one can see what you see, through your eyes. |