in reply to GD graphs and CGI
It is also important to change you output type to
I had the same problem when dealing with images for the web. I found easier to put the script that generates
the graphic in a diferent page, staying like this
So, when sending the correct header to the browser it will look like an image.# make sure we are writing to a binary stream binmode STDOUT;
I had the same problem when dealing with images for the web. I found easier to put the script that generates
the graphic in a diferent page, staying like this
<img src='/perl/mygraph.pl'>
In Section
Seekers of Perl Wisdom