12-14-2011, 08:38 PM
Here is a useful method for delivering multimedia file downloads to your users. Typically, browsers will attempt to play or stream such files when direct links are clicked. With this method, provide a link to a multimedia file and a dialogue box will provide users the choice of saving the file or opening it.
Here are a few htaccess rules demonstrating the technique (edit file types according to your specific needs):
I'll share more helpful information/guide soon.
Press THANKS or REP me if you found it useful.
Here are a few htaccess rules demonstrating the technique (edit file types according to your specific needs):
Code:
# instruct browser to download multimedia files
AddType application/octet-stream .avi
AddType application/octet-stream .mpg
AddType application/octet-stream .wmv
AddType application/octet-stream .mp3
I'll share more helpful information/guide soon.
![[Image: smile.gif]](https://bestblackhatforum.com/images/newsmilies/smile.gif)
Press THANKS or REP me if you found it useful.
![[Image: cool.gif]](https://bestblackhatforum.com/images/newsmilies/cool.gif)