Well the two links are to the same file when I looked at it, or it could just be my eyes playing up. But it does seem strange, maybe the zip one is temporarily unavailable.
If you're running on win2k you'll have trouble finding an image library you can use - in my experience they tend to be all aimed at linux/unix users. you could probably get it working with a lot of research and maybe some liberal applications of a Visual C++ compiler but I don't think it'll be easy...
An easier alternative would be to get the PHP to generate HTML that draws a bar graph, for example with images where the width and height attributes are dynamically generated by the PHP.
Originally posted by Skunk If you're running on win2k you'll have trouble finding an image library you can use - in my experience they tend to be all aimed at linux/unix users. you could probably get it working with a lot of research and maybe some liberal applications of a Visual C++ compiler but I don't think it'll be easy...
An easier alternative would be to get the PHP to generate HTML that draws a bar graph, for example with images where the width and height attributes are dynamically generated by the PHP.
Very good point. More specifically make a few images like this:
red.gif = 1 x 1 pixel gif of red
blue.gif = 1 x 1 pixel gif of blue
green.gif = 1 x 1 pixel gif of green
etc etc, then just change the height and width of those pictures. They'll load very fast and you'll get the nice graphs.
HOWEVER, you'll only really be able to do bar charts....to do something like a pie chart you would actually need the graphics libraries.
Have fun!
( and no, i don't live here! I was just on last night. )
Bookmarks