Pleaaaase帮助我修复代码。我想导入第一页和第二页:
$pdf = new FPDI('P','mm','A4');
$pdf->SetTitle("test");
$pageCount = $pdf->setSourceFile($_SERVER['DOCUMENT_ROOT']."source.pdf");
$tplIdx = $pdf->importPage(1);
$pdf->AddPage();
$pdf->useTemplate($tplIdx, 0, 0, 0);
$pdf->SetFont('Arial','',9);
$pdf->SetMargins(1,0,1,0);
$pdf->SetAutoPageBreak(margin,1)
shareeditundeleteflag