There is still an obvious error in the code
$tplidx = $pdf->ImportPage(1);
should be replaced by
$tplidx = $pdf->ImportPage($i);
Or it will repeat reading page 1 forever.
Search found 1 match
- Fri Mar 15, 2013 8:17 am
- Forum: Code Snippets
- Topic: Adding text/images to an existing PDF
- Replies: 20
- Views: 96139