Add use setasign\Fpdi\Fpdi; to the top of your script and initiate Fpdi. FPDI 2 is namespaced. There are several other issues in your snipped: The Output() ...
確定! 回上一頁