piechart
November 24th, 2000, 14:01
Could anyone tell me what is wrong with the following CGI script that I am using to make a piechart "on-the-fly". It's syntax is correct (I use the "perl -c" command). I've been trying to figure this one out for weeks. Go to http://piechart.virtualave.net/source_code.txt to see the source code and http://piechart.virtualave.net/cgi-bin/pie.pl/ice_cream.dat to see it not working! PLease help.
Cheers,
Rob
Woofcat
November 24th, 2000, 14:24
The image shouldn't be:
http://piechart.virtualave.net/data1/virtualave.net/piechart/public_html/temp.gif
Should probably be something like:
http://piechart.virtualave.net/temp.gif
But if it's being generated on the fly wouldn't it have to be something.pl? And looking at pie.pl you haven't porperly specified a poll data file...
piechart
November 25th, 2000, 05:59
Cheers for the help.
But it still doesn't work! The image isn't located at http://piechart.virtualave.net/data1/virtualave.net/piechart/public_html/temp.gif because /data1/virtualave.net/piechart/public_html/temp.gif is my directory on the web server.
Also I have supplied the poll data file using extra path info which is excatly the same as pie.pl?ice_cream.dat but it looks like pie.pl/ice_cream.dat.
Rob