jeevs wrote:
Hi Forum!!!
I want to plot a graph on a web page. I am using the GD::Graph
module and can successfully plot the graph. The graph is displayed on
the web page with the following code.
...
...
print "content-type: image/$graph_format\n\n";
my $img_obj = $graph->plot([EMAIL PROTECTED])->$graph_format();
binmode STDOUT;
print $img_obj;
...
...
But now i need to give a link to the user to move to other page on the
same page where the graph is displayed. This is tedious for me since I
am not supposed to write to the server. Otherwise i could have written
a image file and instead of using image headers, I wud have used the
text/html header and the img tag to display the graph.
Please guide me how can I provide the link to the another page.
I'm afraid I don't really understand what you have in mind. If you're
unable to write to the HTTP server machine then you're unable to change
the contents of any web page at all.
Is this a static graph that you generate once and display multiple times?
Or is it generated according to some dynamic data? If the latter then where
is that data?
Rob
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/