On 8 June 2011 10:21, Richard Quadling <rquadl...@gmail.com> wrote:
> On 7 June 2011 22:17, Brian Dunning <br...@briandunning.com> wrote:
>> Thanks, this helped me solve it. FPDI extends a class in FPDF, so I simply 
>> had to reverse the order in which I call them and all is hunky dory.
>
> I would take a look at using an autoloader
> (http://www.php.net/manual/en/language.oop5.autoload.php and
> http://uk.php.net/manual/en/ref.spl.php).

And having got your own autoloader created, I use auto_prepend_file to
always include it.

http://www.php.net/manual/en/ini.core.php#ini.auto-prepend-file

-- 
Richard Quadling
Twitter : EE : Zend : PHPDoc
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to