Re: Image_Graph: How can I dynamically generate images that can then be used in a report page with other text?

From: Date: Mon, 01 Aug 2005 20:09:45 +0000
Subject: Re: Image_Graph: How can I dynamically generate images that can then be used in a report page with other text?
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-20227@lists.php.net to get a copy of this message
On 8/1/05, l Burnerheimerton <lburnerheimerton@yahoo.com> wrote: > I want to use dynamically generated graphics in a > reports page. > > I have a page that generates the graphic, page1.php > that outputs to a file: > > $Graph->done(array('filename' => 'output.png')); > > Another page that has a report where I'd like to > incorporate several graphics dynamically generated. > > I've tried to add this to my reports.php page: > require_once("page1.php") > ... > <body> > Test Report<br> > <img src="/output.png"> > </body> > > It just displays the image and stops at the > require_once(), it doesn't continue on the page. > > How can I dynamically generate images that can then be > used in a report page? > That should work fine. Are you sure your page1.php is not exiting the script somehow? -- Justin Patrin

« previous php.pear.general (#20227) next »