margin:5px;
и всё. header('Content-Description: File Transfer');
header('Content-Type: application/octet-stream');
header('Content-Disposition: attachment; filename=' . basename($savefile));
header('Content-Transfer-Encoding: binary');
header('Expires: 0');
header('Cache-Control: must-revalidate');
header('Pragma: public');
header('Content-Length: ' . filesize($file));
В любом случае - это инъекция JS-скрипта в шаблон динамически.
Так что, как ни крути, но мой ответ, всё-таки, оказался верным!))
Просьба отметить решеницем... ;)