Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

modifying Image_Graph to accept an array instead of $_GET data.

Status
Not open for further replies.

beakerboy

Technical User
May 31, 2001
27
0
0
US
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
 
You'll probably get a better answer in forum434.


----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.

Web &amp; Tech
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top