RE: [PHP] including files in PHP-pdf development

From: Date: Mon, 17 Mar 2003 12:56:16 +0000
Subject: RE: [PHP] including files in PHP-pdf development
Groups: php.general 
Request: Send a blank email to php-general+get-139942@lists.php.net to get a copy of this message
> -----Original Message----- > From: Bill Hudspeth [mailto:wbhk@unm.edu] > Sent: 14 March 2003 20:07 > > I am developing an application that ouputs the results of a > database query > to a PDF file using PHP. The only real problem I have > encountered is in > trying to use the "include" and/or "require" keywords. I have > a block of > code in another file that needs to called several times from my main > PDF-generating PHP file. As of yet, the standard use of > include or require > doesn't seem to work: > > i.e. include 'output.inc'; That looks fine, so we need more info: - *How* doesn't it work (error message (quote in full)? nothing happens? keyboard explodes? ...?) - some relevant code -- maybe 20-30 lines around the problem one, with a clear indication of which is the failing line. - anything else that seems relevant. Cheers! Mike --------------------------------------------------------------------- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Beckett Park, LEEDS, LS6 3QS, United Kingdom Email: m.ford@lmu.ac.uk Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211

« previous php.general (#139942) next »