I use a script that downloads various data to the browsers...
In one area of the script, you can download dynamicly created PDF invoices.
When I try to download the invoice, I get an error from IE that says:
The file could not be written to the cache.
The vendor/author of the script says:
Please check over the following code and see which PHP header you have blocked or disabled and if possible unblock it:
header("Pragma: no-cache");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
header("Cache-Control: private",false);
header("Content-Type: application/octet-stream");
header("Content-Disposition: attachment; filename=\"$filename\"");
header("Content-Transfer-Encoding: binary");
How can I resolve this issue?
Server: Fedora 4
PHP: 4.4
Thanks for any assistance.