View Single Post
  #37  
Old 06/01/2005, 07:18 PM
Illusion Illusion is offline
Registered Member
 
Join Date: Oct 2003
Location: Oregon
Posts: 948
Wanted to know if you are now Aware of

"JpGraph Error: HTTP headers have already been sent.
Explanation:
HTTP headers have already been sent back to the browser indicating the data as text before the library got a chance to send it's image HTTP header to this browser. This makes it impossible for the library to send back image data to the browser (since that would be interpretated as text by the browser and show up as junk text).
Most likely you have some text in your script before the call to Graph::Stroke(). If this texts gets sent back to the browser the browser will assume that all data is plain text. Look for any text, even spaces and newlines, that might have been sent back to the browser.

For example it is a common mistake to leave a blank line before the opening "
James