Welcome Guest, Not a member yet? Register   Sign In
FPDF
#2

Before outputting data to the browser, you need to set the correct type of content.

PHP Code:
$this->response->setHeader('Content-Type''application/pdf');

$mpdf->Output(); 
Reply


Messages In This Thread
FPDF - by niklas - 05-12-2020, 05:20 AM
RE: FPDF - by vitnibel - 05-12-2020, 09:26 AM
RE: FPDF - by niklas - 05-14-2020, 12:32 AM
RE: FPDF - by pws - 09-10-2020, 02:45 AM
RE: FPDF - by vitnibel - 09-11-2020, 08:10 PM
RE: FPDF - by stepgr - 09-19-2020, 02:33 AM
RE: FPDF - by pws - 09-11-2020, 10:52 AM



Theme © iAndrew 2016 - Forum software by © MyBB