If I create a seperate file with only this information then it works.... but 
when i put the code in my original grapher it still gives junk....
I looked into error_log in /etc/httpd/logs ... there is no error....
What to do now....
Chitman
Serge Maandag <[EMAIL PROTECTED]> wrote:
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



---------------------------------
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard

--
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

Reply via email to