Hi-
Im trying to pass post values to an array which will concatenate pdfs into one for download. Im using FPDF to do this btw...
<form method="post" action="pdf_concat.php">
//Check boxes
<input type="checkbox" name="pdf_files[]" value="' . $filename . '">
the page the form is posted to:
///This works
$pdf->setFiles(array("cd1.pdf","td3.pdf","tw24.pdf"));
///This doesn't
$pdf= new concat_pdf();
if ($REQUEST_METHOD==POST) {
$pdf->setFiles(array($_POST['pdf_files']));
}
else {
}
I get: FPDF error: Cannot open Array !
Thanks!