|
|
|
|
|
|
![]() |
#2 |
a.k.a. Sparky
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
|
I believe to do this you need to alter the content type of the file being served which requires a handler of sorts to do this which can then be hidden with an .htaccess. It will use more cpu than letting apache serve the file.
Code:
<?php header("Content-Type: video/x-ms-wmv"); header('Content-Disposition: attachment; filename="test.wmv"'); $file=fopen("test.wmv","rb"); fpassthru($file); close($file); ?>
__________________
SnapReplay.com a different way to share photos - iPhone & Android |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | Rate This Thread |
|
|