Topic: Xajax requesting a php function

Is it possible to have xajax to begin new headers? I'm using php's image library to draw an image, then using XAJAX to create / submit a form. Based on the form's submission it will update db and draw the new image.

Is it possible for xajax to modify the headers after they've been sent so that it can generate a new image file?

~Tarsonis21

Re: Xajax requesting a php function

you can't return an image for an (x)ajax call, but you could of course change the src of an image tag and load a php generated image there.

Re: Xajax requesting a php function

Well, I came up with the solution as I was typing my response. It's amazing how that seems to happen.

~Tarsonis21