level 6
ahjxchenchao
楼主
//创建一张图片
$_width=75;
$_height=25;
$_img = imagecreatetruecolor($_width,$_width);
//输出图片
header('Content-type:image/png');
imagepng($_img);
//销毁
imagedestroy($_img);
这样写有错误吗?为什么在浏览器上会显示Fatal error: Call to undefined function imagecreatetruecolor() in E:\GUEST\text0.7\code.php on line 15
2014年06月18日 06点06分
1
$_width=75;
$_height=25;
$_img = imagecreatetruecolor($_width,$_width);
//输出图片
header('Content-type:image/png');
imagepng($_img);
//销毁
imagedestroy($_img);
这样写有错误吗?为什么在浏览器上会显示Fatal error: Call to undefined function imagecreatetruecolor() in E:\GUEST\text0.7\code.php on line 15