TCPDF output without saving file

Mirgorod picture Mirgorod · Jan 16, 2011 · Viewed 99.8k times · Source

How to use TCPDF to output pdf file in browser without saving like in ezpdf?

Answer

Alec picture Alec · Jan 16, 2011

Use I for "inline" to send the PDF to the browser, opposed to F to save it as a file.

$pdf->Output('name.pdf', 'I');