You can put <img src=http://domain.com/path/to/yourscript.pl> in your
html.
In yourscript.pl you can spit the image out to stdout by saying:
$graph = `rrdtool graph - <options>`.
print "Content-type: image/png\n";
print $graph;
Serge.
-----Original Message-----
From: Baenisch, Stephan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 11, 2003 9:47 AM
To: [email protected]
Subject: [rrd-users] Possible to store graph in variable?
Hi rrd-users,
I wrote a perl-cgi script to generate graphs and html-pages on demand.
The user can choose some parameters and the graphs
will be created and stored to disk. From disk they are inserted into
html.
My question is now if it is possible to store a graph in a variable (or
something else)
and print it to html from there (I don't want to use rrd-cgi Module) ?
--
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