fpdf output to file code example Example: how to osave fpdf output to a file $filename="/home/user/public_html/test.pdf"; $pdf->Output($filename,'F');