[thelist] Return Image with Text via PHP?
Stefan Schwarzer
st.schwarzer at geois.de
Mon Nov 19 04:52:38 CST 2007
Hi there,
I am using JpGraph to draw graphs upon certain requests. Now,
sometimes it happens that the requested IDs/years don't have any
data. Then JpGraph returns a default error message.
I would like instead return an image with a line explaining why it
didn't create any graph.
I thought that this should be a not-to-difficult task, but am somehow
blocked to get the clue....
Can someone help me out?
I guess I need to have a
header("Content-type: image/png");
and then include some text, and at the end submit that, no?
Thanks for any clarifications,
Stef
____________________________________________________________________
Stefan Schwarzer
Lean Back and Relax - Enjoy some Nature Photography:
http://photoblog.la-famille-schwarzer.de
Appetite for Global Data? UNEP GEO Data Portal:
http://geodata.grid.unep.ch
____________________________________________________________________
More information about the thelist
mailing list