replace the:
print `cat image.gif`;
with:
RRDs::graph( '-', @args);
my $ERR=RRDs::error;
warn ("$ERR") if $ERR;
and see if it works and if not: check the errorlog of your webserver for
interesting stuff.
Serge.
-----Original Message-----
From: Chitman Kaur [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 11:12 AM
To: Serge Maandag; [email protected]
Subject: Re: [rrd-users] Re: Junk characters instead of graph
Yes , It works....
What next....
Chitman
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`;
--
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