php gd <img src = '你的这个文件'> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 ImageGif($im);==>ImagePng($im); 晕。楼主header是png,creat却是gif…… 嗯,君子兰说的没错,楼主改一下<?phpHeader("Content-type: image/png");$im = imagecreate(400,30);$black = ImageColorAllocate($im, 0,0,0);$white = ImageColorAllocate($im, 255,255,255);imageline($im, 1, 1, 350, 25, $black);imagearc($im, 200, 15, 20, 20, 35, 190, $white);imagestring($im, 5, 4, 10, "Graph TEST!!", $white);ImageGif($im);--->这里改成Imagepng($im);ImageDestroy($im);?> Warning: Cannot modify header information - headers already sent by (output started at /usr/local/htdocs/hello.php:6) in /usr/local/htdocs/hello.php on line 110系统报错!!!这是什么意思??/ 因为生成了这个warning所以报这个错误,这个warning是在header以前发送的,只要去掉错误提示就不会报这个错了 这是一段加密代码吗,具体是什么意思,有人知道吗 题库问题 socket 同步数据--TCP 活不多,头要我做PHP,快速上手急盼指点 大家帮帮忙呀! 像动网那样的论坛有没有PHP版本的下载? 求一段代码,用来美观php脚本代码格式排版 PHP4.3下如何使用session? help PHP与SQL Server的连接 请各大哥帮我取个公司名,域名。(散分) 请问能否通过php的GD库生成动态多帧的gif图档
==>
ImagePng($im);
Header("Content-type: image/png");
$im = imagecreate(400,30);
$black = ImageColorAllocate($im, 0,0,0);
$white = ImageColorAllocate($im, 255,255,255);
imageline($im, 1, 1, 350, 25, $black);
imagearc($im, 200, 15, 20, 20, 35, 190, $white);
imagestring($im, 5, 4, 10, "Graph TEST!!", $white);
ImageGif($im);--->这里改成Imagepng($im);
ImageDestroy($im);
?>
这是什么意思??/