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

前端 未结 7 777
-上瘾入骨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:51

    try this

    $pdf->Output($_SERVER['DOCUMENT_ROOT'].'/invoices/Delivery Note.pdf', 'F');
    
    0 讨论(0)
提交回复
热议问题