Re: PDF error with pdf_open_png

From: Date: Fri, 12 Jan 2001 01:15:49 +0000
Subject: Re: PDF error with pdf_open_png
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-34177@lists.php.net to get a copy of this message
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 <ignacio@openservices.net>

« previous php.general (#34177) next »