Hi!
I can not get IE 5.0 to show my php generated pdf files. I have been looking around for answers, but I just have not had any luck yet! my code looks something like this:
<?
header( "Content-type: application/pdf" );
// turn output buffering on
ob_start();
$pdf = pdf_open();
/************************/
the pdf is generated here...
/************************/
pdf_close($pdf);
// get the length of the document
$length = ob_get_length();
// output content-length header
header("Content-Length: $length");
// send pdf to the browser, flushing and turning off output buffering
ob_end_flush();
?>
I think that this script should work with both browsers! The scripts used to work ...but something happened! I have been thinking if that somethig could be the servicepack that was installed to my NT workstation?
If someone has any ideas how to get the script to work I would appreciate to get the answer ...THANX
-ARi