I am using PHP 4.3.4 and utilizing the built in PDFLib Library to generate on-the-fly pdf reports from a database. For each report I have created a class to generate the report. For the most part the reports work correctly. But there are several users that have begun to have problems generating the reports with IE 6. These are users who have been generating the reports for quite some time now and all of a sudden when they try and generate a report it displays a blank page, but there are other users who don't have this problem. My temporary solution is for the users to use another browser (like Mozilla) and they are able to generate the PDF's just fine.
My instincts tell me it is a combination of not sending the correct headers and/or a problem within IE. These are the headers I'm sending:
$data = pdf_get_buffer($this->pdf);
header ("Content-type: application/pdf");
header ("Content-disposition: inline; filename=test.pdf");
header ("Content-length: " . strlen($data));
header ("Expires: 0");
header ("Cache-Control: must-revalidate, post-check=0, pre-check=0");
header ("Pragma: public");
Any help would be greatly appreciated.