Closed Thread
Results 1 to 3 of 3

Thread: Piecharts on the fly.

  1. #1
    Junior Member piechart is an unknown quantity at this point
    Join Date
    Nov 2000
    Location
    Bristol, England
    Posts
    3

    Question

    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-b.../ice_cream.dat to see it not working! PLease help.
    Cheers,

    Rob

  2. #2
    Pro Member Woofcat is an unknown quantity at this point Woofcat's Avatar
    Join Date
    Nov 2000
    Location
    Chicago
    Posts
    286
    The image shouldn't be:

    http://piechart.virtualave.net/data1..._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...
    Es ist nicht leicht ein Gott zu sein

  3. #3
    Junior Member piechart is an unknown quantity at this point
    Join Date
    Nov 2000
    Location
    Bristol, England
    Posts
    3

    Cool

    Cheers for the help.

    But it still doesn't work! The image isn't located at http://piechart.virtualave.net/data1..._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

Closed Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts