It seems you first need to solve the content header problem before you dive into the displaying of the rrdtool graph.
put a gif image "image.gif" in your cgi directory along with this cgi script: #!/usr/bin/perl $| = 1; print "Content-type: image/gif\n\n"; print `cat image.gif`; Does that work? Serge. -----Original Message----- From: Chitman Kaur [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13, 2003 10:29 AM To: [email protected] Subject: [rrd-users] Junk characters instead of graph Hi All I am trying to write a perl script which queries the RRD and displays the graph on the standard output... i.e. my webpage which called this perl file... But no image is displayed.... only junk characters.... Any ideas... Regards Chitman -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
