Re: Going crazy with include & require not working
| From: | Richard Quadling | Date: | Wed, 08 Jun 2011 09:21:48 +0000 |
| Subject: | Re: Going crazy with include & require not working | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-313461@lists.php.net to get a copy of this message | ||
On 7 June 2011 22:17, Brian Dunning <brian@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).
--
Richard Quadling
Twitter : EE : Zend : PHPDoc
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea