<?php
header ("Content-type: image/gif");
$im = imagecreate(28, 15)
or die ("Cannot Initialize new GD image stream");
$background_color = imagecolorallocate ($im, 255, 255, 255);
$text_color = imagecolorallocate ($im, 233, 14, 91);
imagestring ($im,3,0,0,"要输出的文字", $text_color);
imagepng ($im);
imagedestroy ($im);
?>
header ("Content-type: image/gif");
$im = imagecreate(28, 15)
or die ("Cannot Initialize new GD image stream");
$background_color = imagecolorallocate ($im, 255, 255, 255);
$text_color = imagecolorallocate ($im, 233, 14, 91);
imagestring ($im,3,0,0,"要输出的文字", $text_color);
imagepng ($im);
imagedestroy ($im);
?>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货