| Written by Jean-Loup Rebours-Smith,
on 18-09-2007 12:50
|
Views : 146  |
Favoured : 18 |
Published in : The News, Articles |
Just a quick one. I've just been struggling with getting IE (both versions 6 and 7) to download a simple pdf. It was working fine in Opera and Firefox but IE would just block the download.
The issue was caused by php headers not being defined properly.
So remember that if you have your file type being defined as
header("Content-type: application/force-download");
it will not work in IE. Instead use the header
header("Content-type: application/octet-stream");
Hopefully this helps somebody.
Last update : 18-09-2007 12:50
|
|
Users' Comments  |
|
Average user rating
(0 vote)
|
|
Comment language: English (0), Français (0)
|