> It's not the Zend Framework that causes this issue, as far as I know
> it's entirely the browser. 

Yes and no. IE6 obviously sucks in its support of the Content-* header 
variables.

But what's really funny is, that this very example works in that browser:

$file = "myfile.pdf";
$f = fopen($file, "rb");
$data = fread($f, 999999); // sorry for the 999999, it's just a very simple 
example....
fclose($f);
        
header("Pragma: ");
header("Cache-Control: ");
header("Content-type: application/pdf");
header("Content-Disposition: attachment; filename=\"".$file."\"");
header("Content-length: " . strlen($data));

echo $data;


I'm asking myself why the output of these two examples might be different...

Regards,

Stephan

_______________________________________________________________________
Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 30 Tage
kostenlos testen. http://www.pc-sicherheit.web.de/startseite/?mc=022220

Reply via email to