So maybe this works for Windows IE browsers to start a download and show the appropiate information (Filename, file size and ETD (estimated time for download)).
But this doesn't work for all browsers, specially for the Mac.
I've tried quite some combinations but the best I can get in Mac is the browser asking what to do with the damn file, then you type the name (by default is download.php) and then start the download.
Can anyone help, please? Links, instructions, tutorials, tech-info welcome! Thanks!
header("Content-Type: application/download");
header("Content-Disposition: filename="$nombre.$ext"");
header("Content-Length: ".filesize($full_path));
header("Content-Transfer-Encoding: binary");
header("Connection: close");
readfile($full_path);
exit;