Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

add existing pdfs to fpdf

Tags:

php

pdf

web

fpdf

Is there any function that I could call in order to include an existing pdf in my fpdf file?

For example

$pdf->AddPage(from file example.pdf);

something like that? is it posible?

like image 222
NORM Avatar asked Jan 09 '11 06:01

NORM


People also ask

How to use Fpdi in PHP?

Simple Introduction Demo of FPDI php use setasign\Fpdi\Fpdi; require_once('fpdf/fpdf. php'); require_once('fpdi2/src/autoload. php'); // initiate FPDI $pdf = new Fpdi(); // add a page $pdf->AddPage(); // set the source file $pdf->setSourceFile('PdfDocument.


1 Answers

fpdi is what you are looking for - see http://www.setasign.de/products/pdf-php-solutions/fpdi/

like image 96
roman Avatar answered Sep 24 '22 00:09

roman