Hello,
The apache mod_xsendfile is a good solution for what I want but its not working properly.
In firefox it serves the file but as download.php (name of the file with the code in).
In safari and chrome it serves an empty file.
Here is my code:
header('Content-Type: application/octet-stream');
header('Content-Disposition: attachment; file="test_hi.wmv"');
header('X-Sendfile: /sites/dot.com/trunk/public/files/store/b/test_hi.wmv');
exit;
Anyone used it before / have a solution
FIXED: file="" needed to be filename="" :)