Forum


Replies: 5   Views: 2975
Wierd characters in pdf output in firefox
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by davelavinsky  · 03-03-2018 - 14:02

I checked with the PDF file this time downloading it instead of viewing it within the FireFox browser and there were no wierd characters.

So this issue is with only FireFox inline viewer. Is there anything I can do to troubleshoot this ?

header('Content-type:application/pdf');
header('Content-Disposition:attachment;filename="'.$bp->Name.'.pdf"');
# header('Content-Disposition:inline;filename="'.$bp->Name.'.pdf"');