This is the script that creates the pdfs:
Code: Select all
//Determine a temporary file name in the current directory
$tempfile=basename(tempnam(getcwd(),'pdf'));
rename($tempfile,$tempfile.'.pdf');
$tempfile.='.pdf';
//Save PDF to file
$pdf=new FPDF();
$pdf->AddPage();
$pdf->SetFont('Arial','',12);
$pdf->Write(5,$text);
$pdf->Output($tempfile);Any ideas?