On Thu, 11 Jan 2001, Jared Howard wrote:
> I'm trying to include images in my PDF file using pdf_open_png. (I've also
> tried using pdf_open_gif and pdf_open_image_file.) But when I add the line:
>
> $logo = pdf_open_png($pdf, "$CFG->imagedir/logo.png");
>
> I get the error: Cannot find server or DNS Error (The page cannot be
> displayed), and none of the page displays.
>
> Does anyone know what's wrong?
>
Try:
$logo = pdf_open_png($pdf, "{$CFG->imagedir}/logo.png");
At least, I assume that's what you mean...
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]