首页上一页 1 下一页尾页 1 条记录 1/1页
《PHP从入门到精通》十二章图像处理
发表在PHP图书答疑
2010-05-27
是否精华
是
否
版块置顶:
是
否
关于几个数据图形的输出(柱形图,折线图,3D饼图)都提示如下错误
Warning: imagettftext() [function.imagettftext]: any2eucjp(): something happen in D:\XAMPP\xampp\htdocs\PHP\sl\12\5\jpgraph\jpgraph.php on line 6137
Warning: imagettftext() [function.imagettftext]: any2eucjp(): something happen in D:\XAMPP\xampp\htdocs\PHP\sl\12\5\jpgraph\jpgraph.php on line 6137
Warning: imagettftext() [function.imagettftext]: any2eucjp(): something happen in D:\XAMPP\xampp\htdocs\PHP\sl\12\5\jpgraph\jpgraph.php on line 6137
Warning: imagettftext() [function.imagettftext]: any2eucjp(): something happen in D:\XAMPP\xampp\htdocs\PHP\sl\12\5\jpgraph\jpgraph.php on line 6137
Warning: imagettftext() [function.imagettftext]: any2eucjp(): something happen in D:\XAMPP\xampp\htdocs\PHP\sl\12\5\jpgraph\jpgraph.php on line 6137
Warning: imagettftext() [function.imagettftext]: any2eucjp(): something happen in D:\XAMPP\xampp\htdocs\PHP\sl\12\5\jpgraph\jpgraph.php on line 6137
Warning: imagettftext() [function.imagettftext]: any2eucjp(): something happen in D:\XAMPP\xampp\htdocs\PHP\sl\12\5\jpgraph\jpgraph.php on line 6137
Warning: imagettftext() [function.imagettftext]: any2eucjp(): something happen in D:\XAMPP\xampp\htdocs\PHP\sl\12\5\jpgraph\jpgraph.php on line 6137
Warning: imagettftext() [function.imagettftext]: any2eucjp(): something happen in D:\XAMPP\xampp\htdocs\PHP\sl\12\5\jpgraph\jpgraph.php on line 6137
Warning: imagettftext() [function.imagettftext]: any2eucjp(): something happen in D:\XAMPP\xampp\htdocs\PHP\sl\12\5\jpgraph\jpgraph.php on line 6137
Warning: imagettftext() [function.imagettftext]: any2eucjp(): something happen in D:\XAMPP\xampp\htdocs\PHP\sl\12\5\jpgraph\jpgraph.php on line 6137
Warning: imagettftext() [function.imagettftext]: any2eucjp(): something happen in D:\XAMPP\xampp\htdocs\PHP\sl\12\5\jpgraph\jpgraph.php on line 6137
Warning: imagettftext() [function.imagettftext]: any2eucjp(): something happen in D:\XAMPP\xampp\htdocs\PHP\sl\12\5\jpgraph\jpgraph.php on line 6137
JpGraph Error: HTTP headers have already been sent.
Caused by output from file jpgraph.php at line 6137.
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 "<?php".
还有就是本章12.4.2用GD2函数在照片上添加文字(使用utf8转码工具那一段)提示如下错误及一大段乱码,什么原因
Warning: imagettftext() [function.imagettftext]: any2eucjp(): something happen in D:\XAMPP\xampp\htdocs\PHP\sl\12\2\index.php on line 7
GIF87a
Warning: imagettftext() [function.imagettftext]: any2eucjp(): something happen in D:\XAMPP\xampp\htdocs\PHP\sl\12\5\jpgraph\jpgraph.php on line 6137
Warning: imagettftext() [function.imagettftext]: any2eucjp(): something happen in D:\XAMPP\xampp\htdocs\PHP\sl\12\5\jpgraph\jpgraph.php on line 6137
Warning: imagettftext() [function.imagettftext]: any2eucjp(): something happen in D:\XAMPP\xampp\htdocs\PHP\sl\12\5\jpgraph\jpgraph.php on line 6137
Warning: imagettftext() [function.imagettftext]: any2eucjp(): something happen in D:\XAMPP\xampp\htdocs\PHP\sl\12\5\jpgraph\jpgraph.php on line 6137
Warning: imagettftext() [function.imagettftext]: any2eucjp(): something happen in D:\XAMPP\xampp\htdocs\PHP\sl\12\5\jpgraph\jpgraph.php on line 6137
Warning: imagettftext() [function.imagettftext]: any2eucjp(): something happen in D:\XAMPP\xampp\htdocs\PHP\sl\12\5\jpgraph\jpgraph.php on line 6137
Warning: imagettftext() [function.imagettftext]: any2eucjp(): something happen in D:\XAMPP\xampp\htdocs\PHP\sl\12\5\jpgraph\jpgraph.php on line 6137
Warning: imagettftext() [function.imagettftext]: any2eucjp(): something happen in D:\XAMPP\xampp\htdocs\PHP\sl\12\5\jpgraph\jpgraph.php on line 6137
Warning: imagettftext() [function.imagettftext]: any2eucjp(): something happen in D:\XAMPP\xampp\htdocs\PHP\sl\12\5\jpgraph\jpgraph.php on line 6137
Warning: imagettftext() [function.imagettftext]: any2eucjp(): something happen in D:\XAMPP\xampp\htdocs\PHP\sl\12\5\jpgraph\jpgraph.php on line 6137
Warning: imagettftext() [function.imagettftext]: any2eucjp(): something happen in D:\XAMPP\xampp\htdocs\PHP\sl\12\5\jpgraph\jpgraph.php on line 6137
Warning: imagettftext() [function.imagettftext]: any2eucjp(): something happen in D:\XAMPP\xampp\htdocs\PHP\sl\12\5\jpgraph\jpgraph.php on line 6137
Warning: imagettftext() [function.imagettftext]: any2eucjp(): something happen in D:\XAMPP\xampp\htdocs\PHP\sl\12\5\jpgraph\jpgraph.php on line 6137
JpGraph Error: HTTP headers have already been sent.
Caused by output from file jpgraph.php at line 6137.
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 "<?php".
还有就是本章12.4.2用GD2函数在照片上添加文字(使用utf8转码工具那一段)提示如下错误及一大段乱码,什么原因
Warning: imagettftext() [function.imagettftext]: any2eucjp(): something happen in D:\XAMPP\xampp\htdocs\PHP\sl\12\2\index.php on line 7
GIF87a