fopen(); “Remote host file access not accepted” on a local file?

前端 未结 7 848
-上瘾入骨i
-上瘾入骨i 2020-12-28 17:54

I am using the Tcpdf module and PHP to create dymanic PDF invoices from an ordering system.

The script should then save the invoice into a folder called \"invoices\"

7条回答
  •  难免孤独
    2020-12-28 18:39

    In prestashop you can do it in this way $pdf->Output(_PS_ROOT_DIR_.'/modules/xxx/ticket.pdf', 'F');

提交回复
热议问题