PHP -> PDF

Hi,

This is my current output line, part of a script from http://www.fpdf.org/ - It takes the inputs & saves the files to a PDF.

$pdf->Output($_POST[‘bkid’],‘F’);

Please can someone show me how to save this to an /invoices folder rather than the main directory.

Thanks in advance. :slight_smile:

I’ve got it… If anyone ever wants to know:

$pdf->Output(‘invoices/’ . $_POST[‘bkid’], ‘F’);

:slight_smile:

Sponsor our Newsletter | Privacy Policy | Terms of Service