I\'m trying to force a download so this is my code:
$file = \'test.m4r\'; $mime = \'audio/aac\'; header(\"Pragma: public\"); // required header(\"Expires: 0\");
You can lie about the mimetype, but besides that there isn't anything you can do. Try:
"application/octet-stream"
This might work, and is the default for unknown filetypes etc.
try this one
<?php header("Content-Type: application/force-download"); ?>