I am trying to send a file to the browser using a sequence similar to:
header("Content-Type: application/octet-stream");
header("Content-Disposition: attachment; filename=$filename");
header("Content-Transfer-Encoding: binary");
@readfile($path.$realfilename);
This works fine using http, but fails on https connections with IE and Netscape browsers.
Has anyone had success in doing file downloads over https?
Thanks!