Jump to content

[SOLVED] Sending Headers Prior to a PNG Object


tereglow

Recommended Posts

Hello all,

 

I have been working with the PEAR Image_Graph package which creates graphs that are PNG images.  I want to take the image that it creates and embed it within an HTML page, however if I print anything to the screen prior to calling the graph, I get:

 

Cannot modify header information - headers already sent by...

 

I understand why it is doing this.  I've basically created a PNG object and the header type shows that.  My question is, does anyone know a viable workaround for this?

 

I appreciate any help, if more information is needed, let me know.

Tom

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.