After successfully generating a PDF document, the following code
<?
$fd = fopen("template.pdf", "r");
header("Content-type: application/pdf");
fpassthru($fd);
fclose($fd);
exit();
?>
works perfectly for various versions of Netscape and IE 5.0. On IE 5.5, it gives me a blank page (view source shows '<P> </P>') even though template.pdf was properly generated. Is there more to add to the header call? Anyone encountered this problem? Many thanks to anyone who can provide insight into this matter.
Respectfully,
Mark