Hello All,
This example is straight from the header page of PHP.net:
// It will be called downloaded.pdf
header('Content-Disposition: attachment; filename="downloaded.pdf"');
So what if I have an unsupported file type? I am trying to generate registry files for my clients so they don't have to go through each computer and set default folders, colors.... etc.
BUT, Firefox always creates an .htm extension file even though I have:
header('Content-Disposition: attachment; filename=Default_Folders.reg; Content-type: application/octet-stream;');
declared.
Anyone know if this is an anomaly with Firefox? It works fine in IE.
Thanks.