Hi Alexander,
Ok, should I add it to the issue tracker? In the meantime, would something like this do the job (as a quick hack):

function validatePdf($fileName)
{
   try {
       Zend_Pdf::load($fileName);
   } catch (Zend_Pdf_Exception $e) {
return false; }
   return true;
}


Alexander Veremyev wrote:
Hi Jack,

No. But it's good idea.

With best regards,
   Alexander Veremyev.

No virus found in this outgoing message.
Checked by AVG Free Edition. Version: 7.5.487 / Virus Database: 269.13.22/1015 - Release Date: 18.09.2007 11:53


--
Jack

Reply via email to