I'm creating a budget page with Zend 2, to print with FPDF.
The problem is that I do not know how to import.
The error is this:
Warning: require (/php/system_real/public/advice/fpdf/fpdf.php) [function.require]: failed to open stream: No such file or directory in C: \ xampp \ htdocs \ php \ application \ views \ scripts \ orcamento \ print.phtml on line 4
Fatal error: require () [function.require]: Failed opening required '/php/real_system/public/adds/fpdf/fpdf.php' (include_path = 'C: \ xampp \ htdocs \ php \ system_real \ application /../library;C:\xampp\htdocs\php\system_real\library;.;\xampp\php\PEAR ') in C: \ xampp \ htdocs \ php \ real-system \ application \ views \ scripts \ orcamento \ print .phtml on line 4
The code snippet that requires require:
<?php
$end = $this->baseUrl('aditivos/fpdf/');
require($end.'fpdf.php');
Here is the Controller excerpt:
public function imprimirAction()
{
$this->_helper->layout->disableLayout();
}