Image_Graph: How can I dynamically generate images that can then be used in a report page with other text?
| From: | l Burnerheimerton | Date: | Mon, 01 Aug 2005 19:09:56 +0000 |
| Subject: | Image_Graph: How can I dynamically generate images that can then be used in a report page with other text? | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-20225@lists.php.net to get a copy of this message | ||
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?
Thanks in advance
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs