查看文件: chkpiccc.php
大小: 637 字节
类型: application/octet-stream
<? Header("Content-type: image/PNG"); $im = imagecreate(125,24); $black = ImageColorAllocate($im, 0,0,0); $white = ImageColorAllocate($im, 255,255,255); //$i[2] = ImageColorAllocate($im, 255,255,0); //$i[3] = ImageColorAllocate($im, 255,0,0); //$i[4] = ImageColorAllocate($im, 255,255,255); $gray = ImageColorAllocate($im, 200,200,200); imagefill($im,68,30,$white ); //$gray $word='12345' ;//'西絲朵拉' ;//substr($authnum,$c,1); $mfont="/www2/skybni/fonts/a.ttf"; //$mfont="/www2/skybni/fonts/kaiu.ttf"; ImageTTFText($im,14,0,0,0, $white,$mfont,$word); ImagePNG($im); ImageDestroy($im); ?>
保存
取消
返回文件列表