I'm using a package called Image_Graph to produce some scatter plots on the fly. The way this file works is, it accepts values as $_GET parameters and produces a png image. You call it with <img src="Image_Graph?title=foo&x0=1&y0=0....">
It works great, but I have so much data that the URL is too long and apache rejects the connection. I need to either modify it so it accepts POST data, or change it from a file to a function which will accept an array of data. I've messed around with the second option and can't get it to display an image. I'm thinking this technique will be difficult due to header creation when making the image. Should I look into using cURL to change the file to use POST?
This is probably a long shot if you've never looked at the source code, but do you have any advice on the best strategy to do this?
Thanks,
Kevin
It works great, but I have so much data that the URL is too long and apache rejects the connection. I need to either modify it so it accepts POST data, or change it from a file to a function which will accept an array of data. I've messed around with the second option and can't get it to display an image. I'm thinking this technique will be difficult due to header creation when making the image. Should I look into using cURL to change the file to use POST?
This is probably a long shot if you've never looked at the source code, but do you have any advice on the best strategy to do this?
Thanks,
Kevin