注册 登录
编程论坛 PHP技术论坛

调用imagecreate( )函数出现乱码 ,哪位大哥能帮帮解答啊

mony1000 发布于 2011-03-08 13:13, 943 次点击
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.
<html xmlns="http://www.
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>

<body>
<?php
$im=imagecreate(200,60);
$white=imagecolorallocate($im,225,66,159);
imagegif($im);
?>
</body>
</html>
2 回复
#2
gupiao1752011-03-08 23:25
把机子关闭重启,如果还不行,重装APACHE,PHP!
#3
风月_无边2011-03-09 17:23
header('Content-Type: image/jpeg');
1