[PHP-users 22833]Re: jpgrapherrorについて

Naoto Imai ml_imai @ dv.itquest.co.jp
2004年 7月 27日 (火) 21:51:05 JST


今井と申します。

エラーメッセージの通りではないでしょうか?

> 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

Graph::Stroke()を呼ぶ前には他のヘッダを出力してはいけないわけですから、
そのページが<HTML>なんかで始まってしまっていれば、Content-type: text/html 
が出力されてしまっていますよね?

それから、PHPでもJpGraphでもなく、それ以前にHTMLの基礎知識も必要ではない
でしょうか?イメージタグもないHTMLでは画像は表示されませんね。

今井


PHP-users メーリングリストの案内