Código PHP:
$id="http://example.com/Sugar.msa";
header('Content-Disposition: attachment; filename=' . basename($id));
Código PHP:
$file_url='http://example.com/Sugar.msa';
header('Content-Type: application/octet-stream');
header("Content-Transfer-Encoding: Binary");
header("Content-disposition: attachment; filename=\"" . basename($file_url) . "\"");
readfile($file_url);
Código PHP:
header("Location: http://example.com/Sugar.msa");
Bueno, muchas gracias de antemano por cualquier ayuda.