关于php创建图像出错
<?php header('Content-Type:image/png'); for ($i=0;$i<4;$i++){ $yan.=dechex(rand(0, 15)); } $tu=imagecreatetruecolor(75, 25); $blue=imagecolorallocate($tu, 0, 102, 255); $white=imagecolorallocate($tu,255,255,255); imagefill($tu, 0, 0, $blue); imagestring($tu, 5, 0, 0, $yan, $white); imagepng($tu); imagedestroy($tu); ?> 代码就是上面的代码,可是不知道哪里出错了,请高手给看看