in reply to Use of GD::Graph
You say you want to print an image, so do that - but don't print HTML also (you use start_html and end_html)
You're also printing two headers, remove the first one (only print the image header, not the HTML one).
If you want to print both an image and HTML, split the script up into two scripts - one that emits the HTML which contains an <img src="http://url.to/other/perl/script.pl"> that points to the second script.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Use of GD::Graph
by campbell (Beadle) on May 07, 2008 at 08:39 UTC | |
by campbell (Beadle) on May 15, 2008 at 10:40 UTC | |
by moritz (Cardinal) on May 15, 2008 at 11:01 UTC | |
by campbell (Beadle) on May 15, 2008 at 11:28 UTC |