Inline PDF displayed as raw content instead rendered pdf |
(05-21-2018, 12:54 AM)Paradinight Wrote:(05-21-2018, 12:11 AM)singgihdh Wrote: I tried to display inline pdf using CI4 but it return raw content of pdf (seem like postscript) instead return rendered content of pdf. it was not happen in CI3. I tried using 'header("Content-type: application/pdf");' but nothing. what should i do? Still didnt work until i comment Code: $this->setContentType('text/html'); |
Messages In This Thread |
Inline PDF displayed as raw content instead rendered pdf - by singgihdh - 05-21-2018, 12:11 AM
RE: Inline PDF displayed as raw content instead rendered pdf - by Paradinight - 05-21-2018, 12:54 AM
RE: Inline PDF displayed as raw content instead rendered pdf - by singgihdh - 05-21-2018, 01:42 AM
|