[thelist] Return Image with Text via PHP?

David Dorward david at dorward.me.uk
Mon Nov 19 06:12:32 CST 2007


On 19 Nov 2007, at 10:52, Stefan Schwarzer wrote:

> I guess I need to have a
> 	
> 	header("Content-type: image/png");
>
> and then include some text, and at the end submit that, no?

No, because that would be text/plain data, not image/png data. You'd  
need to generate a PNG image. It sounds like the error message is  
always the same, so redirecting (302) to a static image explaining  
the problem would likely be a better approach.

-- 
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/





More information about the thelist mailing list