Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.
function SetSourceFile($filename) {
$this->current_filename = $filename;
$fn =& $this->current_filename;
if (!isset($this->parsers[$fn]))
// $this->parsers[$fn] =& new fpdi_pdf_parser($fn,$this);
$this->parsers[$fn] = new fpdi_pdf_parser($fn,$this);
if (!$this->parsers[$fn]->success) {
$this->Error($this->parsers[$fn]->errormsg); // Delete this line to return false on fail
return false;
}
$this->current_parser =& $this->parsers[$fn];
return $this->parsers[$fn]->getPageCount();
}I use MPDF 43 with PHP 5.3.1 without any problem and without modifying MPDF.
About the division by Zero issue i had it when my html was not clean. Meaning I did not close all my tab within my HTML.
Regards
Quentin
1 to 5 of 5