I'm concerned if people don't have Adobe on their computers. I think they are very, very likely to have the Adobe web plugin that allows them to see PDF files in their browser. So, is it possible to code it so that the PDF file opens in a new window in their web browser?
Right now, I have this which downloads.
$docx->enableCompatibilityMode();
$docx->createDocx("temp/".$ID);
$docx->transformDocument("temp/$ID.docx", "temp/$ID.pdf");
header('Content-type:application/pdf');
header('Content-Disposition:attachment;filename="'.$bp->Name.'.pdf"');
readfile("temp/$ID.pdf");