Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: GD graphs and CGI

by r34d0nl1 (Pilgrim)
on Jan 20, 2005 at 12:53 UTC ( #423686=note: print w/replies, xml ) Need Help??


in reply to GD graphs and CGI

It is also important to change you output type to
# make sure we are writing to a binary stream binmode STDOUT;
So, when sending the correct header to the browser it will look like an image.
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'>

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://423686]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2019-10-22 03:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?