sir:
i writed a code like this:
<?header("Content-type:image/gif");
$im=ImageCreate(400,30);
$white=ImageColorAllocate($im,255,255,255) ;
$black=ImageColorAllocate($im,0,0,0);
ImageLine($im,1,1,350,25,$black);
ImageArc($im,200,15,20,20,35,190,$white);
ImagePNG($im);
?>
but browser always output :
‰PNG IHDR8¼ÚPLTEÿÿÿUÂÓ~UIDATxœc?¡?ézÿÿ!]?¤k?ÿ€tM?H×TÿŸt= ÿ??¤kb'/?®Éž¬À#'þ&"0MD@^""]Ï65+SIEND®B`?
what happened??
i have setup dg2_dll,and i used to changing it to gd_dll,
but the problem always exist~!
i run my php on winxp+apache+mysql